{"id":1208,"date":"2010-02-10T13:07:03","date_gmt":"2010-02-10T05:07:03","guid":{"rendered":"http:\/\/nan.im\/blog\/?p=1208"},"modified":"2010-02-10T13:07:03","modified_gmt":"2010-02-10T05:07:03","slug":"%e3%80%90drupal%e3%80%91%e4%bf%ae%e6%94%b9-shadowbox-%e6%a8%a1%e5%9d%97%e5%9c%a8%e4%b8%ad%e6%96%87-drupal-%e4%b8%ad%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"http:\/\/nan.im\/blog\/1208","title":{"rendered":"\u3010Drupal\u3011\u4fee\u6539 Shadowbox \u6a21\u5757\u5728\u4e2d\u6587 Drupal \u4e2d\u4f7f\u7528"},"content":{"rendered":"<p><a href=\"http:\/\/www.shadowbox-js.com\/\">ShadowBox<\/a> \u662f\u4e00\u4e2a\u975e\u5e38\u4f18\u79c0\u7684\u5168\u80fd\u5f39\u51fa\u5c42 JS \u7c7b\u5e93\uff0c\u652f\u6301\u591a\u79cd\u8c03\u7528\u63a5\u53e3\u53ca\u76ee\u524d\u7f51\u8def\u4e0a\u5e38\u89c1\u7684\u5404\u79cd\u8d44\u6e90\u548c\u5a92\u4f53\uff0c\u5177\u4f53\u4e0b\u9762\u6211\u4f1a\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b <a href=\"http:\/\/drupal.org\/project\/shadowbox\">shadowbox for drupal<\/a> \u7684\u5b89\u88c5\u65b9\u6cd5\u548c\u652f\u6301\u7684\u5a92\u4f53\u5217\u8868\u3002\u4f46\u76ee\u524d\u6709\u4e2a\u5c0f\u95ee\u9898\u662f\u5982\u679c\u5728\u4e2d\u6587 Drupal \u7ad9\u70b9\u4e0a\u5b89\u88c5 Shadowbox \u6a21\u5757\u540e\u4f1a\u53d1\u73b0\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff0c\u5176\u539f\u56e0\u662f Drupal \u4f7f\u7528 IETF \u6807\u51c6\u7684 zh-hans \u53ca zh-hant \u6807\u8bc6\u7b80\u4f53\u548c\u7e41\u4f53\u4e2d\u6587\u800c\u5728 Shadowbox \u4e2d\u5219\u4f7f\u7528\u65e7\u7684 zh-CN \u53ca zh-TW \u6765\u6807\u8bc6\u7b80\u4f53\u548c\u7e41\u4f53\u4e2d\u6587\uff0c\u4e86\u89e3\u4e86\u539f\u56e0\u4e4b\u540e\u89e3\u51b3\u65b9\u6cd5\u4e5f\u53d8\u7684\u7b80\u5355\u4e86\u2026\u2026<!--more--><\/p>\n<p><strong>\u4e00\u3001\u9996\u5148\u662f ShadowBox for Drupal \u6a21\u5757\u7684\u5177\u4f53\u5b89\u88c5\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>1\u3001\u5206\u522b\u4e0b\u8f7d <a href=\"http:\/\/drupal.org\/project\/shadowbox\">ShadowBox for Drupal<\/a> \u6a21\u5757\u53ca <a href=\"http:\/\/www.shadowbox-js.com\/\">ShadowBox<\/a> \u5e93\uff1b<\/p>\n<p>2\u3001\u89e3\u538b\u7f29\u91ca\u653e ShadowBox \u5e93\u4e2d\u6240\u6709\u7684\u6587\u4ef6\u5230\u7ad9\u70b9\u7684\u76ee\u5f55 \\sites\\all\\libraries\\shadowbox\\ \u7136\u540e\u91ca\u653e ShadowBox for Drupal \u6a21\u5757\u7684\u6240\u6709\u6587\u4ef6\u5230\u7ad9\u70b9\u7684 \\sites\\all\\modules\\shadowbox\\ \u76ee\u5f55\uff1b<\/p>\n<p>3\u3001\u5728\u7ad9\u70b9\u7ba1\u7406\u6a21\u5757\u529f\u80fd\u91cc\u5f00\u542f ShadowBox \u6a21\u5757\u5373\u53ef\uff0c\u4f7f\u7528\u53ef\u4ee5\u5728 CCK \u7684\u5b57\u6bb5\u91cc\u9762\u8bbe\u7f6e\u4f46\u6211\u4e2a\u4eba\u63a8\u8350\u81ea\u5df1\u5199\u9009\u62e9\u5668\u76f4\u63a5\u52a0\u5230\u8282\u70b9\u4e0a\u3002<\/p>\n<p><strong>\u4e8c\u3001\u7136\u540e\u662f\u4fee\u6539 ShadowBox JS \u6587\u4ef6\u5728\u4e2d\u6587 Drupal \u6b63\u5e38\u4f7f\u7528\uff1a<\/strong><\/p>\n<p>\u672c\u6587\u5f00\u59cb\u5c31\u7b80\u5355\u63cf\u8ff0\u4e86 ShadowBox \u5728\u4e2d\u6587 Drupal \u4e2d\u4e3a\u4ec0\u9ebd\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528\uff0c\u4e86\u89e3\u4e86\u539f\u56e0\u81ea\u7136\u89e3\u51b3\u65b9\u6cd5\u4e5f\u5c31\u7b80\u5355\u4e86\uff0c\u8fd9\u91cc\u6211\u662f\u5c06\u7ad9\u70b9\u76ee\u5f55 \\sites\\all\\libraries\\shadowbox\\languages\\ \u4e0b\u7684 shadowbox-zh-CN.js \u6587\u4ef6\u590d\u5236\u4e00\u4efd\u91cd\u547d\u540d\u4e3a shadowbox-zh-hans.js \u7136\u540e\u5c06\u8be5\u6587\u4ef6\u91cc\u9762\u7684 zh-CN \u4fee\u6539\u6210 zh-hans \u5373\u53ef\uff0c\u7e41\u4f53\u4e2d\u6587\u53ef\u4ee5\u590d\u5236 shadowbox-zh-TW.js \u4e3a shadowbox-zh-hant.js \u4e4b\u540e\u505a\u76f8\u5e94\u4fee\u6539\u5373\u53ef\u3002<\/p>\n<p><strong>\u4e09\u3001\u9644\u5e26\u4e00\u4e9b ShadowBox \u7684\u94fe\u63a5\u8d44\u6e90\u53ca\u6240\u652f\u6301\u7684\u6d4f\u89c8\u5668\u548c\u5a92\u4f53\uff1a<\/strong><\/p>\n<p>Shadowbox is a JavaScript modal media viewer application for viewing images, video, Flash and other content in a modal window.<\/p>\n<p>Shadowbox is an online media viewer application that supports all of the web\u2019s most popular media publishing formats. Shadowbox is written entirely in JavaScript and CSS and is highly customizable. Using Shadowbox, website authors can showcase a wide assortment of media in all major browsers without navigating users away from the linking page.<\/p>\n<p>ShadowBox JS\uff1a<a href=\"http:\/\/www.shadowbox-js.com\/\">http:\/\/www.shadowbox-js.com\/<\/a><\/p>\n<p>ShadowBox JS down\uff1a<a href=\"http:\/\/www.shadowbox-js.com\/download.html\">http:\/\/www.shadowbox-js.com\/download.html<\/a><\/p>\n<p>ShadowBox for Drupal\uff1a<a href=\"http:\/\/drupal.org\/project\/shadowbox\">http:\/\/drupal.org\/project\/shadowbox<\/a><\/p>\n<p>ShadowBox Support Media\uff1aImages (png, jpg, jpeg, gif, bmp) Video (avi, mpg, mpeg) Quicktime (dv, mov, moov, movie, mp4) Windows Media Player (asf, wm, wmv) Flash (swf, flv) IFrame (asp, aspx, cgi, cfm, htm, html, pdf, pl, php*, phtml, rb, rhtml, shtml, txt, vbs) &#8230;<\/p>\n<p>ShadowBox Support Browsers\uff1aInternet Explorer\u3001Firefox\u3001Safari\u3001Chrome\u3001Opera &#8230;<\/p>\n<p>\u53ef\u4ee5\u770b\u51fa ShadowBox \u6240\u652f\u6301\u7684\u5a92\u4f53\u7c7b\u578b\u8fdc\u8d85\u8fc7\u5176\u4ed6\u6240\u6709\u540c\u7c7b\u7684 JS \u7c7b\u5e93\u5982 LightBox ThickBox \u7b49\u7b49\uff0c\u5f53\u7136\u4f53\u79ef\u4e5f\u6bd4\u5176\u5b83\u7c7b\u5e93\u8981\u5927\uff0c\u4f46\u501f\u7531\u8fd9\u4e00\u4e2a\u65b9\u6848\u5c31\u53ef\u4ee5\u517c\u5bb9\u7684\u89e3\u51b3\u7ad9\u70b9\u4e0a\u6240\u6709\u7684\u5f39\u51fa\u5c42\u5a92\u4f53\uff0c\u6240\u4ed8\u51fa\u7684\u4ee3\u4ef7\u5f53\u7136\u662f\u975e\u5e38\u503c\u5f97\u7684\u3002<\/p>\n<p>0312-2010 \u8fd9\u91cc\u66f4\u65b0\u4e00\u4e0b\uff1a\u76ee\u524d\u6700\u65b0\u7684 ShadowBox for Drupal \u5df2\u7ecf\u4e0d\u9700\u8981\u4fee\u6539\u4efb\u4f55\u4ee3\u7801\u4e86\uff0c\u76f4\u63a5\u628a\u6587\u4ef6\u653e\u7f6e\u5230\u76f8\u5e94\u4f4d\u7f6e\u5373\u53ef\u76f4\u63a5\u4f7f\u7528\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\u4e00\u5b9a\u8981\u6ce8\u610f drupal \u6a21\u5757\u7f51\u7ad9\u4e0a\u6240\u6807\u6ce8\u7684\u7248\u672c\u5bf9\u5e94\u4fe1\u606f\u5982\uff1aShadowbox 5.x-2.0 works with Shadowbox 2.0 Full \u4ee5\u53ca Shadobwox 6.x-4.x works with Shadowbox 3.0.x \u7b49\u7b49\u4fe1\u606f\uff0c\u5982\u679c\u4f60\u7684\u7ad9\u70b9\u6ca1\u6709\u4f7f\u7528\u6700\u65b0\u7684\u642d\u914d\u6a21\u5f0f\u53ef\u80fd\u4ecd\u9700\u8981\u6309\u7167\u4e0a\u9762\u7684\u65b9\u6cd5\u4fee\u6539\u4e00\u5b9a\u7684\u4ee3\u7801\u2026\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ShadowBox \u662f\u4e00\u4e2a\u975e\u5e38\u4f18\u79c0\u7684\u5168\u80fd\u5f39\u51fa\u5c42 JS \u7c7b\u5e93\uff0c\u652f\u6301\u591a\u79cd\u8c03\u7528\u63a5\u53e3\u53ca\u76ee\u524d\u7f51\u8def\u4e0a\u5e38\u89c1\u7684\u5404\u79cd\u8d44\u6e90\u548c\u5a92\u4f53\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[20,31,47],"class_list":["post-1208","post","type-post","status-publish","format-standard","hentry","category-tech","tag-code","tag-drupal","tag-js"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts\/1208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/comments?post=1208"}],"version-history":[{"count":0,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/posts\/1208\/revisions"}],"wp:attachment":[{"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/media?parent=1208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/categories?post=1208"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nan.im\/blog\/wp-json\/wp\/v2\/tags?post=1208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}