[url]http://ilightbox.net/[/url]
The issue is that to implement ilightbox, for every image you have to place multiple javascript codes like this
<script>
$('#ilightbox1').iLightBox();
</script>
<script>
$('#ilightbox2').iLightBox();
</script>
<script>
$('#ilightbox3').iLightBox();
</script>
and call it by using id="ilightbox1" and so on for every other image
Isn't there away to just create a class and call it for every image like how fancybox is implemented?
<script type="text/javascript">
$(document).ready(function() {
$(".fancybox").fancybox();
});
</script>
And just call it from class="fancybox" ?

New Topic/Question
Reply



MultiQuote


|