Linux 软件免费装

OpSt ezyThick

开发者 dpste
更新时间 2014年11月20日 18:12
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 4.0.1
版权: GPLv2 or later
版权网址: 版权信息

标签

Shortcode UI Popup Inline Modal Thickbox Wrapper

下载

1.0 1.1

详情介绍:

An easy(easier)-to-remember shortcode wrapper for Thickbox' inline funcion. Uses the build-in Thickbox module. A tool for those of us, who does not use the thickbox on a regular basis, and are having trouble remembering the syntax. No need to worry about inclusion of libraries, construction of hrefs and hiding divs. Library and css only loaded when needed. Just wrap your text/images/other shortcode in the [ezythick link="Sometext" ]...[/ezythick] shortcode, (don't forget the link attribute), and you're done. Limitations

安装:

  1. Upload and unpack the opst-ezythick.zip to the /wp-content/plugins/ directory or simply upload the zip file within your wordpress installation.
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Thats it. You're ready to use the shortcode in your posts and pages

屏幕截图:

  • An simple example of the use of the shortcode.
  • An example of an inline popup with all attributes set.

常见问题:

What are the minimum shortcode?

You must provide text for the link - and some content to display in the box, eg: [ezythick link="Fill in the form"] ... Your form here ... [/ezythick]

What attributes are available

You can use the following attributes:

  • link: The link text displayed on the page.
  • inlineId: A unique id for the box. Use if you need more than one thickbox on a page.
  • title: The text for titlebar
  • show: Set to true if you want to display the enclosed text directly on the page/post.
  • width: The box width in pixels.
  • height: The box height in pixels.
  • modal: Only close box by clicking on exit button. Set to "true" if you need a modal box.
  • exitbutton: Text on the exit button, default: "Exit".
  • type: One of 'inline' or 'iframe'. Default is inline.
  • src: URL pointing to the iframe content.

Multiple links to the same content

You do not need to copy content. Instead you can link to the content of another shortcode. All you need is to add the link text and the inlineid as attributes. You will however have to copy all attributes from the original link. Example: [ezythick link="Fill in the form" indlineid="popup1"], displays an ordinary box with inline content. Iframes: Since the "content" is a url contained in the link itself, it is not possible to just refer to the "content" of another shortcode. But who knows - one day I may write a routine to keep track of things, so this will be possible.

更新日志:

1.0 First release 1.0.1 Changes to readme.txt 1.0.2 1.1 Added support for iFrames 1.2 Added support for multiple links to open same popup box == Upgrade Notice == Nothing particular