Lightbox JS v2.0

How to Use:

Part 1 - Setup
Lightbox v2.0 uses the Prototype Framework and Scriptaculous Effects Library. You will need to include these three Javascript files in your header.

Include the Lightbox CSS file (or append your active stylesheet with the Lightbox styles).

Check the CSS and make sure the referenced prevlabel.gif and nextlabel.gif files are in the right location. Also, make sure the loading.gif and closelabel.gif files as referenced near the top of the lightbox.js file are in the right location.

Part 2 - Activate
Add a rel="lightbox" attribute to any link tag to activate the lightbox. For example:

Optional: Use the title attribute if you want to show a caption.
If you have a set of related images that you would like to group, follow step one but additionally include a group name between square brackets in the rel attribute. For example:

No limits to the number of image sets per page or how many images are allowed in each set. Go nuts!

Lightbox JS 2.03.3: 下载文件 Download

Website: http://www.huddletogether.com/projects/lightbox2/
by Lokesh Dhakar
[本日志由 parno 于 2009-12-30 10:37 PM 编辑]
上一篇: 二个猪鼻孔
下一篇: Real Alternative 1.9.0.0 解码包[7z][EXE]
文章来自: Lokesh Dhakar
引用通告: 查看所有引用 | 我要引用此文章
Tags: Lightbox javascript
相关日志:
评论: 0 | 引用: 0 | 查看次数: 5717
发表评论
昵 称:
密 码: 游客发言不需要密码.
邮 箱: 邮件地址支持Gravatar头像,邮箱地址不会公开.
网 址: 输入网址便于回访.
内 容:
验证码:
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 500 字 | UBB代码 关闭 | [img]标签 关闭