Saturday, 31 August 2013

Incorporating FancyBox into Performer Portfolio Theme

Incorporating FancyBox into Performer Portfolio Theme

So I've got this theme here using the four row portfolio image gallery.
Instead of opening the link into a new page, I'm trying to have those link
to a Fancybox slideshow. However, despite calling out the javascript, it
now just links to nothing at all.
The Problem Area (images are linked elsewhere on my computer in this until
I move everything over):
<script type="text/javascript" src="js/jquery.fancybox.js"></script>
<script type="text/javescript" src="js/jquery.fancybox.pack.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".fancybox").fancybox();
});
</script>
<div data-category="illustrations" class="illustrations element">
<div class="filter_img gallery_item">
<a class="fancybox" rel="group" href"../../imgs/fs_drink.jpg"><img
src="../../imgs/tn_drink.jpg" alt= /></a>
<div class="gallery_fadder"></div>
<div class="gallery_descr">
<h6 class="gallery_title">Joy Lemonades</h6>
<p>Ut eget est quis sem vulputate ultrices non et magna int ac lorem
egestas.</p>
</div>
</a>
</div>
</div><!-- .element -->

No comments:

Post a Comment