0
如何在html頁面多次運行lightbox jquery。 ? 我可以在單個html頁面中多次運行一個jquery嗎?如何在一個html頁面中多次運行lightbox jquery
這是我使用的代碼是
<script type="text/javascript">
$(function() {
$('#gallery a').lightBox();
});
</script>
<div id="gallery">
<ul>
<li>
<a href="photos/ilPunto-cat1.jpg" target="_parent">
<img src="photos/ilPunto_cat1.jpg" class="left"/>
</a>
</li>
一旦包括去類:) – swapnesh 2012-07-07 09:51:09
通過多次調用它?顯示沒有工作的代碼,並解釋問題出在什麼地方。 – David 2012-07-07 09:52:26
只要我得到你的問題,你需要使用classes.All這是在插件網站上提到..讀取這些說明的人,然後如果有任何問題提煉你的問題.. – Bhoot 2012-07-07 10:45:08