I've been trying to get Fancybox 2 to work with Firefox 22.0, however to no avail. I ran this with chrome, which turned out fine. I've downgraded the jQuery version, put https on the link, ran it through Firebug, nothing worked. Any ideas?
Javascript:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script src="fancybox/jquery.fancybox.js?v=2.1.5"></script>
<script>
$(".fancybox").fancybox({
openEffect : 'none',
closeEffect : 'none',
afterClose : function() {
slideMove = true;
},
beforeLoad : function() {
event.preventDefault();
slideMove = false;
}
});
</script>
HTML:
<a class="fancybox" href="images/screenshots/flower-big.jpg" title="The Cupertino Florist"><img src="images/screenshots/flower-small.jpg" alt=""></a>