效果预览:http://keleyi.com/keleyi/phtml/jqtexiao/3.htm

HTML文件代码:

 <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>弹出灯箱窗口浏览图片-柯乐义</title>
<link rel="stylesheet" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/css/keleyi.css">
<script type="text/javascript" src="http://keleyi.com/keleyi/pmedia/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/js/keleyi.min.js"></script>
<style>img{border:0px}</style>
</head> <body>
<h2>弹出窗口浏览图片</h2>
<div><a href="http://keleyi.com/a/bjac/ppdss7ux.htm">原文</a>
请点击下列图片
</div>
<div class="dengxaing-keleyi-com"> <a title="2013-8-21" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-8-21_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-8-21_s.jpg"></a> <a title="2013-9-13" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-13_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-13_s.jpg"></a> <a title="2013-9-15" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-15_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-15_s.jpg"></a> <a title="2013-9-16" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-16_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-16_s.jpg"></a> <a title="2013-9-17" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-17_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-17_s.jpg"></a> <a title="2013-9-23" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-23_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-9-23_s.jpg"></a> <a title="2013-10-2" href="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-10-2_w.jpg">
<img width="133" height="75" src="http://keleyi.com/keleyi/phtml/jqtexiao/3/images/keleyi-com-2013-10-2_s.jpg"></a>
</div> <script type="text/jscript">
$(document).ready(function() { $('.dengxaing-ke' + 'leyi-com').magnificPopup({
delegate: 'a',
type: 'image',
tLoading: 'Loading image #%curr%...',
mainClass: 'mfp-img-mobile',
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0,1] // Will preload 0 - before current, and 1 after the current image
},
image: {
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
titleSrc: function(item) {
return item.el.attr('title') + '<small>by Keleyi</small>';
}
}
}); }); </script>
</body>
</html>

原文:http://keleyi.com/a/bjac/ppdss7ux.htm

更多:http://keleyi.com/a/bjac/s3sw6q5t.htm

web前端汇总:http://www.cnblogs.com/jihua/p/webfront.html

最新文章

  1. WPF 自定义搜索框
  2. extJs学习基础5 理解mvvm的一个小案例
  3. 为什么调用 FragmentPagerAdapter.notifyDataSetChanged() 并不能更新其 Fragment?
  4. 分享20个吸引眼球的高品质免费PSD网站模板
  5. webservice 的wsdl文件生成客户端java类
  6. hdu 2082
  7. 创建UIImage的两种方法
  8. Android:Style和Theme
  9. Jenkins(转)
  10. 百度AI开放平台- API实战调用
  11. Spark SQL数据源
  12. Head First设计模式之桥接模式
  13. heartbeat单独提供高可用服务
  14. python字符串魔法
  15. nginx 隐藏 index.php 和 开启 pathinfo 模式的配置
  16. 读书笔记 C#事件event浅析(一)
  17. springcloud~演化的微服务架构
  18. Hyperldeger Fabric踩过的坑
  19. 佣金维护测试sql
  20. CentOS 6.8 安装JDK8

热门文章

  1. 【深入浅出Linux网络编程】 “基础 -- 事件触发机制”
  2. 【Win 10应用开发】SplitView控件
  3. 前端学PHP之数据类型
  4. .NET平台开源项目速览(8)Expression Evaluator表达式计算组件使用
  5. AngularJS之代码风格36条建议【一】(九)
  6. Android获取内置sdcard跟外置sdcard路径
  7. Easyui datagrid加载本地Json数据,CGI数据
  8. T-Sql(三)存储过程(Procedure)
  9. golang操作文件
  10. geotrellis使用(二十一)自动导入数据