{"id":71343,"date":"2011-10-30T08:00:00","date_gmt":"2011-10-30T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/flash-show-and-hide-box\/"},"modified":"2017-03-27T09:35:00","modified_gmt":"2017-03-27T09:35:00","slug":"flash-show-and-hide-box","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/flash-show-and-hide-box\/","title":{"rendered":"Flash Show And Hide Box"},"content":{"rendered":"<p>Flash Show And Hide Box lets we very convenient embed flash, and control it show and hide.<br \/>\nSome times we need embed flash at my page, but load flash will be slowly show this page and increase stream. Flash Show And Hide Box plugin will enbed flash at visitor click box.<br \/>\nThe first click box show flash, clicks again hides the flash.<\/p>\n<p>Related Links:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.litefeel.com\/flash-show-and-hide-box\/\" title=\"Flash Show And Hide Box Plugin for WordPress\" rel=\"nofollow ugc\">Plugin Homepage<\/a><\/li>\n<li><a href=\"https:\/\/www.litefeel.com\/\" title=\"Author For Flash Show And Hide Box Plugin\" rel=\"nofollow ugc\">Author Homepage<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/extend\/plugins\/flash-show-and-hide-box\/other_notes\/\" title=\"More usage examples\" rel=\"ugc\">More usage examples<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/litefeel\/flash-show-and-hide-box\" title=\"on GitHub\" rel=\"nofollow ugc\">on GitHub<\/a><\/li>\n<\/ul>\n<h3>Usage<\/h3>\n<p><strong>API, initialize an flash box<\/strong><\/p>\n<pre><code>showFlashLib.initBox(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, flashvarsObj, parObj, attObj);\n<\/code><\/pre>\n<p><strong>API, create an flash box<\/strong><\/p>\n<pre><code>showFlashLib.createBox(swfUrlStr, widthStr, heightStr, swfVersionStr, flashvarsObj, parObj, attObj);\n<\/code><\/pre>\n<p>Arguments:<\/p>\n<ul>\n<li>swfUrlStr (String, required) specifies the URL of your SWF<\/li>\n<li>replaceElemIdStr (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by your Flash content<\/li>\n<li>widthStr (String, required) specifies the width of your SWF<\/li>\n<li>heightStr (String, required) specifies the height of your SWF<\/li>\n<li>swfVersionStr (String, required) specifies the Flash player version your SWF is published for (format is: \u201cmajor.minor.release\u201d or \u201cmajor\u201d)<\/li>\n<li>flashvarsObj (Object, optional) specifies your flashvars with name:value pairs<\/li>\n<li>parObj (Object, optional) specifies your nested object element params with name:value pairs<\/li>\n<li>attObj (Object, optional) specifies your object\u2019s attributes with name:value pairs<\/li>\n<\/ul>\n<p><strong>Example 1: The recommended usage, the text will by display when javascript is not enabled.<\/strong><\/p>\n<pre><code>this is my flash\n\nshowFlashLib.initBox(\"myflash.swf\", \"myflash\",600,170);\n\n<\/code><\/pre>\n<p><strong>Example 2: The succinct usage.<\/strong><\/p>\n<pre><code>\nshowFlashLib.createBox(\"myflash.swf\",600,170);\n\n<\/code><\/pre>\n<p><strong>Example 3: The ubb code usage.<\/strong><\/p>\n<pre><code>The syntax:\n[flash={width},{height}]{swf file url}[\/flash]\nThe example:\n[flash=600,170]myflash.swf[\/flash]\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Flash Show And Hide Box lets we very convenient embed flash, and control it show and hide.<\/p>\n","protected":false},"author":65,"featured_media":278439,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Flash Show And Hide Box - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Flash Show And Hide Box lets we very convenient embed flash, and control it show and hide."},"footnotes":""},"categories":[1],"tags":[538,1386,2740,4576],"class_list":["post-71343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-flash","tag-hide","tag-show","tag-swf"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/71343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=71343"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/71343\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/278439"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=71343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=71343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=71343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}