本文介绍了Jqauary LightBox照片gallary没有正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 你好朋友,我正在创建一个LightBox Photo Gallary,但是这张照片没有按照我的预期工作..... Hello Friends ,I Am Creating A LightBox Photo Gallary ,But This Photo gallary Is Not worked which I Expect.....<div id="gallery"> <ul> <li><a href="photos/image1.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery').lightBox();"> <img src="photos/thumb_image1.jpg" width="72" height="72" alt="" /> </a></li> <li><a href="photos/image2.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();"> <img src="photos/thumb_image2.jpg" width="72" height="72" alt="" /> </a></li> <li><a href="photos/image3.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();"> <img src="photos/thumb_image3.jpg" width="72" height="72" alt="" /> </a></li> <li><a href="photos/image4.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();"> <img src="photos/thumb_image4.jpg" width="72" height="72" alt="" /> </a></li> <li><a href="photos/image5.jpg" title="Utilize a flexibilidade dos seletores da jQuery e crie um grupo de imagens como desejar. $('#gallery a').lightBox();"> <img src="photos/thumb_image5.jpg" width="72" height="72" alt="" /> </a></li> </ul> </div> Referances Referances<link rel="stylesheet" type="text/css" href="css/jquery.lightbox.css" media="screen" /> <script type="text/javascript" src="js/jquery.1.2.3.js"></script> <script type="text/javascript" src="js/jquery.lightbox.min.js"></script> 脚本 Script<script type="text/javascript"> $(function () { $('#gallery a').lightBox(); }); </script> 推荐答案 这篇关于Jqauary LightBox照片gallary没有正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-29 11:24