国外Lightbox v2.03.3 最新版 下载


Posted in Javascript onOctober 17, 2007

下面是官方的描述,好多网站实现的图片展示都用的这个效果,非常不错的效果,简单易用
Support
It doesn't work at all. The image opens up in a new page. What's wrong? 
This is commonly caused by a conflict between scripts. Check your body tag and look for an onload attribute. Example:
<body onload="MM_preloadImages(‘/images/menu_on.gif')…;">
A quick fix to this problem is to append the initLightbox() to the onload attribute as so:
<body onload="MM_preloadImages(‘/images/menu_on.gif')…;initLightbox()">

It doesn't work if I click an image link before the page has finished loading. 
The script is activated only after the page has finished loading. 
The shadow overlay doesn't stretch to cover full browser window. 
Remove the default margin and padding from the body tag. Add body{ margin: 0; padding: 0; } to your stylesheet. 
Can I insert links in the caption? 
Yes, but you need to convert quotes and greater and less than symbols into their html entity equivalents. For example:
<a href="images/image-4.jpg" rel="lightbox" title="<a href="link.html">my link</a>">Image</a> 
Can I display flash, video, or other content using the script? 
Sorry, photos only. For other content, google for Lightbox modifications or try an alternative script such as Cody Lindley's ThickBox. 
Can the script be called from an iframe? 
If you're using iframes, try the Lytebox modification which has better support. 
Can I use the script in a commercial project? 
Yes. It is licensed under the Creative Commons Attribution 2.5 License. A donation would be nice, hint hint. 
Contact
For troubleshooting, feature requests, and general help, post a message in the Lightbox Forum. Make sure to include details on your browser, operating system, Lightbox version, and a link (or relevant code). I do not have time to personally respond to support emails, please use the forum. 

To send me a non-support related note, email me at: lokeshdhakar2007@gmail.com . Thanks.

官方下载

Javascript 相关文章推荐
JS重要知识点小结
Nov 06 Javascript
js动态设置div的值下例子
Oct 29 Javascript
PHP实现的各种中文编码转换类分享
Jan 23 Javascript
javascript实现图片跟随鼠标移动效果的方法
May 13 Javascript
jQuery-1.9.1源码分析系列(十一)DOM操作续之克隆节点
Dec 01 Javascript
JavaScript设计模式开发中组合模式的使用教程
May 18 Javascript
浅析如何利用JavaScript进行语音识别
Oct 27 Javascript
微信小程序 textarea 详解及简单使用方法
Dec 05 Javascript
清除输入框内的空格
Dec 21 Javascript
node打造微信个人号机器人的方法示例
Apr 26 Javascript
微信小程序后端实现授权登录
Feb 24 Javascript
vue.js实现双击放大预览功能
Jun 23 Javascript
javascript[js]获取url参数的代码
Oct 17 #Javascript
javascript中的有名函数和无名函数
Oct 17 #Javascript
JS网络游戏-(模拟城市webgame)提供的一些例子下载
Oct 14 #Javascript
表单填写时用回车代替TAB的实现方法
Oct 09 #Javascript
关于 byval 与 byref 的区别分析总结
Oct 08 #Javascript
JavaScript加密解密7种方法总结分析
Oct 07 #Javascript
JavaScript 入门·JavaScript 具有全范围的运算符
Oct 01 #Javascript
You might like
用Zend Encode编写开发PHP程序
2006/10/09 PHP
使PHP自定义函数返回多个值
2006/11/26 PHP
关于PHP5 Session生命周期介绍
2010/03/02 PHP
Laravel5.1框架注册中间件的三种场景详解
2019/07/09 PHP
完美解决JS中汉字显示乱码问题(已解决)
2006/12/27 Javascript
javascript操作文本框readOnly
2007/05/15 Javascript
NodeJs中的非阻塞方法介绍
2012/06/05 NodeJs
window.addEventListener来解决让一个js事件执行多个函数
2012/12/26 Javascript
Yii-自定义删除确认弹框(zyd)jquery实现代码
2013/03/04 Javascript
js+ajax实现获取文件大小的方法
2015/12/08 Javascript
javascript轻量级库createjs使用Easel实现拖拽效果
2016/02/19 Javascript
javascript特殊文本输入框网页特效
2016/09/13 Javascript
JS实现匀速与减速缓慢运动的动画效果封装示例
2018/08/27 Javascript
详解js访问对象的属性和方法
2018/10/25 Javascript
this.$toast() 了解一下?
2019/04/18 Javascript
20个必会的JavaScript面试题(小结)
2019/07/02 Javascript
解决Vue打包上线之后部分CSS不生效的问题
2019/11/12 Javascript
VUE 实现element upload上传图片到阿里云
2020/08/12 Javascript
Python2.5/2.6实用教程 入门基础篇
2009/11/29 Python
详解Python网络爬虫功能的基本写法
2016/01/28 Python
Django中利用filter与simple_tag为前端自定义函数的实现方法
2017/06/15 Python
深入解析python中的实例方法、类方法和静态方法
2019/03/11 Python
python将图片转base64,实现前端显示
2020/01/09 Python
Python创建空列表的字典2种方法详解
2020/02/13 Python
python和php哪个更适合写爬虫
2020/06/22 Python
Python模拟登录和登录跳转的参考示例
2020/10/30 Python
python连接mongodb数据库操作数据示例
2020/11/30 Python
CSS3制作炫酷的下拉菜单及弹起式选单的实例分享
2016/05/17 HTML / CSS
岗位廉洁从政承诺书
2014/03/27 职场文书
主题实践活动总结
2014/05/08 职场文书
社会稳定风险评估方案
2014/06/02 职场文书
傲慢与偏见读书笔记
2015/06/29 职场文书
2016年大学迎新工作总结
2015/10/14 职场文书
2016年第32个教师节红领巾广播稿
2015/12/18 职场文书
七年级写作指导之游记作文
2019/10/07 职场文书
mysql批量新增和存储的方法实例
2021/04/07 MySQL