這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Flash Show And Hide Box

描述

Flash Show And Hide Box lets we very convenient embed flash, and control it show and hide.
Some 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.
The first click box show flash, clicks again hides the flash.

Related Links:

Usage

API, initialize an flash box

showFlashLib.initBox(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, flashvarsObj, parObj, attObj);

API, create an flash box

showFlashLib.createBox(swfUrlStr, widthStr, heightStr, swfVersionStr, flashvarsObj, parObj, attObj);

Arguments:

  • swfUrlStr (String, required) specifies the URL of your SWF
  • replaceElemIdStr (String, required) specifies the id of the HTML element (containing your alternative content) you would like to have replaced by your Flash content
  • widthStr (String, required) specifies the width of your SWF
  • heightStr (String, required) specifies the height of your SWF
  • swfVersionStr (String, required) specifies the Flash player version your SWF is published for (format is: “major.minor.release” or “major”)
  • flashvarsObj (Object, optional) specifies your flashvars with name:value pairs
  • parObj (Object, optional) specifies your nested object element params with name:value pairs
  • attObj (Object, optional) specifies your object’s attributes with name:value pairs

Example 1: The recommended usage, the text will by display when javascript is not enabled.

this is my flash

showFlashLib.initBox("myflash.swf", "myflash",600,170);

Example 2: The succinct usage.


showFlashLib.createBox("myflash.swf",600,170);

Example 3: The ubb code usage.

The syntax:
[flash={width},{height}]{swf file url}[/flash]
The example:
[flash=600,170]myflash.swf[/flash]

螢幕截圖

  • setting
  • hide flash state
  • show flash state

安裝

You can find, download and install Flash Show And Hide Box directly from the Plugins section in WordPress.

If you want to install manually, download and unzip the flash-show-and-hide-box.zip file and upload to the /wp-content/plugins/flash-show-and-hide-box/ directory. Then activate the plugin through the Plugins section in WordPress.

評價

閱讀全部2個評價

貢獻者及開發者

“Flash Show And Hide Box” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Flash Show And Hide Box 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Flash Show And Hide Box 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.6

  • Transfer ownership

1.5

  • Added: Join translate.wordpress.org

1.4.2.1

  • Tested up to: 4.4

1.4.2

  • Fixed: Notice undefined index.

1.4.1.1

  • Tested up to: 4.0

1.4.1

  • Tested up to: 3.9.1

1.4

  • Fixed: Fixed option ‘load_js_at_front_page’ do not work.

1.3.2

  • New: Anded settings menu in plugins page.

1.3

  • New: support UBB code to display flash.
  • Fixed: Cannot display flash when without version.

1.2.1

  • Removed: Remove log info.

1.2

  • Added: Add show flash at front page option.
  • Removed: Remove load js library option.

1.1.1

  • Modify: Edit JavaScript with JSHint rules.

1.1

  • Fixed: Cannot load jQuery file.

1.0

  • Initial public release.