+ -
当前位置:首页 → 问答吧 → 用过thickbox进来帮看看,多张图为什么不行?

用过thickbox进来帮看看,多张图为什么不行?

时间:2009-05-05

来源:互联网

页面地址:http://www.wlog.com.cn/temp/group%20images.html

(单张图就可以,问一下什么原因?)

代码:
复制代码
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5. <title>single image</title>
  6. <link href="css/thickbox.css" rel="stylesheet" type="text/css" />
  7. <script src="js/jquery-1.3.2.min.js" type="text/javascript" ></script>
  8. <script src="js/thickbox-compressed.js" type="text/javascript"></script>
  9. </head>
  10. <body>
  11. <!--<a href="images/1.jpg" class="thickbox" rel="gallery"><img src="images/1_sn.jpg" /></a>
  12. <a href="images/2.jpg" class="thickbox" rel="gallery"><img src="images/2_sn.jpg" /></a>-->
  13. <a href="http://jquery.com/demo/thickbox/images/plant1.jpg" title="add a caption to title attribute / or leave blank" class="thickbox" rel="gallery-plants"><img src="http://jquery.com/demo/thickbox/images/plant1_t.jpg" alt="Plant 1" /></a>
  14. <a href="http://jquery.com/demo/thickbox/images/plant2.jpg" title="add a caption to title attribute / or leave blank" class="thickbox" rel="gallery-plants"><img src="http://jquery.com/demo/thickbox/images/plant2_t.jpg" alt="Plant 2" /></a>
  15. <a href="http://jquery.com/demo/thickbox/images/plant3.jpg" title="add a caption to title attribute / or leave blank" class="thickbox" rel="gallery-plants"><img src="http://jquery.com/demo/thickbox/images/plant3_t.jpg" alt="Plant 3" /></a>
  16. <a href="http://jquery.com/demo/thickbox/images/plant4.jpg" title="add a caption to title attribute / or leave blank" class="thickbox" rel="gallery-plants"><img src="http://jquery.com/demo/thickbox/images/plant4_t.jpg" alt="Plant 4" /></a>
  17. </body>
  18. </html>

作者: lfxc   发布时间: 2009-05-05