Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It is possible to assign a fancybox call within the content itself via the onclick parameter:
You can try linking photos into one gallery in the following way:
<li><a rel="gallery" href="/files/img/01.jpg" title="sometitle" class="fancybox"><img src="/files/img/prev_01.jpg" alt="" /></a></li>
<li><a rel="gallery" href="/files/img/02.jpg" title="sometitle1" class="fancybox"><img src="/files/img/prev_02.jpg" alt="" /></a></li>
<script type="text/javascript">$("a.fancybox").attr('rel', 'gallery').fancybox();</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question