国外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 相关文章推荐
JavaScript confirm选择判断
Oct 18 Javascript
jQuery的end()方法使用详解
Jul 15 Javascript
JavaScript焦点事件、鼠标事件和滚轮事件使用详解
Jan 15 Javascript
AngularJS 模块化详解及实例代码
Sep 14 Javascript
javascript使用正则实现去掉字符串前面的所有0
Jul 23 Javascript
vue 利用路由守卫判断是否登录的方法
Sep 29 Javascript
Vue js 的生命周期(看了就懂)(推荐)
Mar 29 Javascript
详解Vue中使用插槽(slot)、聚类插槽
Apr 12 Javascript
微信小程序实现左滑动删除效果
Mar 30 Javascript
vue 指令和过滤器的基本使用(品牌管理案例)
Nov 04 Javascript
vue设置默认首页的操作
Aug 12 Javascript
vue配置型表格基于el-table拓展之table-plus组件
Apr 12 Vue.js
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
PHP 和 MySQL 开发的 8 个技巧
2007/01/02 PHP
php实现数组筛选奇数和偶数示例
2014/04/11 PHP
CodeIgniter模板引擎使用实例
2014/07/15 PHP
PHP 无限级分类
2017/05/04 PHP
document 和 document.all 分别什么时候用
2006/06/22 Javascript
JavaScript脚本性能的优化方法
2007/02/02 Javascript
jquery入门—选择器实现隔行变色实例代码
2013/01/04 Javascript
HTML上传控件取消选择
2013/03/06 Javascript
浏览器窗口加载和大小改变事件示例
2014/02/27 Javascript
浅析Node在构建超媒体API中的作用
2014/07/30 Javascript
js获取json中key所对应的value值的简单方法
2020/06/17 Javascript
js 事件的传播机制(实例讲解)
2017/07/20 Javascript
深入理解vue.js中$watch的oldvalue与newValue
2017/08/07 Javascript
js Date()日期函数浏览器兼容问题解决方法
2017/09/12 Javascript
使用JavaScript实现一个小程序之99乘法表
2017/09/21 Javascript
使用webpack打包koa2 框架app
2018/02/02 Javascript
vue 路由子组件created和mounted不起作用的解决方法
2019/11/05 Javascript
微信小程序实现一个简单swiper代码实例
2019/12/30 Javascript
pycharm 使用心得(七)一些实用功能介绍
2014/06/06 Python
python结合API实现即时天气信息
2016/01/19 Python
一个基于flask的web应用诞生 flask和mysql相连(4)
2017/04/11 Python
Python中函数的基本定义与调用及内置函数详解
2019/05/13 Python
详解如何用TensorFlow训练和识别/分类自定义图片
2019/08/05 Python
将keras的h5模型转换为tensorflow的pb模型操作
2020/05/25 Python
Python之Matplotlib文字与注释的使用方法
2020/06/18 Python
解决TensorFlow程序无限制占用GPU的方法
2020/06/30 Python
编写python代码实现简单抽奖器
2020/10/20 Python
使用Python实现音频双通道分离
2020/12/25 Python
关于python中remove的一些坑小结
2021/01/04 Python
乌克兰网上珠宝商店:GoldSoveren
2020/03/31 全球购物
如何利用cmp命令比较文件
2013/09/23 面试题
营销团队口号
2014/06/06 职场文书
普通党员个人整改措施
2014/10/27 职场文书
《鲸》教学反思
2016/02/23 职场文书
英文诗歌翻译方法(赏析)
2019/08/16 职场文书
实用干货:敬酒词大全,帮你应付各种场合
2019/11/21 职场文书