Linux 软件免费装

Plugin Name

开发者 patrik bona
更新时间 2010年8月13日 16:52
PHP版本: 2.8.0 及以上
WordPress版本: 3.0.1

标签

jQuery API lightBox

下载

0.1.1

详情介绍:

This plugin provides PHP function jquery_lightbox($selectors), which generates all needed JS code for calling jQuery lightBox. For example: <?php jquery_lightbox('a img.lightbox'); ?> will generate this code: <script type="text/javascript"> jQuery(document).ready(function() { jQuery('a img.lightbox').lightBox({ imageLoading: 'http://www.example.com/wp-content/plugins/jquery-lightbox-api/images/lightbox-ico-loading.gif', imageBtnClose: 'http://www.example.com/wp-content/plugins/jquery-lightbox-api/images/lightbox-btn-close.gif', imageBtnPrev: 'http://www.example.com/wp-content/plugins/jquery-lightbox-api/images/lightbox-btn-prev.gif', imageBtnNext: 'http://www.example.com/wp-content/plugins/jquery-lightbox-api/images/lightbox-btn-next.gif', imageBlank: 'http://www.example.com/wp-content/plugins/jquery-lightbox-api/images/lightbox-blank.gif' }); }); </script> So you will just simply call PHP function jquery_lightbox() and you don't need to take care about all the pats, or including and uploading anything else. Plugin is bundled with all need jQuery lightBox files and it will take care about including them... Also multiple selectors in format jquery_lightbox(array('selector1', 'selector2', ...)) are supported.

安装:

  1. Upload jquery-lightbox-api to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

更新日志:

0.1.1 0.1.0