Fancybox: how to scroll html fragments instead of images with the same
effect?
I would like to show html fragments instead of images with the same
scrolling effect (when we call the next() method).
I can't realize how to make it working. If we use images then fancybox
lib. reads href attibutes to obtain full images.
<a class="fancybox-thumb" rel="fancybox-thumb"
href="http://farm9.staticflickr.com/8507/8454547519_f8116520e1_b.jpg"
title="Ayvalýk, Turkey (Nejdet Düzen)">
<img
src="http://farm9.staticflickr.com/8507/8454547519_f8116520e1_m.jpg"
alt="" />
</a>
<a class="fancybox-thumb" rel="fancybox-thumb"
href="http://farm8.staticflickr.com/7152/6394238505_c94fdd1d89_b.jpg"
title="Sicilian Scratches erice (italianoadoravel on/off coming back)">
<img
src="http://farm8.staticflickr.com/7152/6394238505_c94fdd1d89_m.jpg"
alt="" />
</a>
I would like these html fragments are in the same page. How to force the
lib. to use html fragments instead of images?
No comments:
Post a Comment