I have followed the instructions here: fancybox 2.0.4 and Vimeo to try and get the videos to open as a lightbox but I still can't get the fancy box to work. Any ideas?
Page with videos here: http://kodiakgroup.com/clients.php
HTML:
<div class="lightbox-client" style="margin-right: 20px;">
<a href="http://player.vimeo.com/video/65867546?title=0&byline=0&portrait=0" class="lightbox"><img src="/images/thumb-video-carlton.jpg" /><br /><br />Carlton-Bates</a>
</div>
<div class="lightbox-client">
<a href="http://player.vimeo.com/video/65867545?title=0&byline=0&portrait=0" class="lightbox"><img src="/images/thumb-video-arris.jpg" /><br /><br />Arris</a>
</div>
Javascript near the bottom:
<!--script for lightbox-->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="/js/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
$(".lightbox").fancybox({
width: 400,
height: 225,
type: 'iframe',
fitToView : false
});
});
</script>
Error:
Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox-1.3.4.pack.js:18
Uncaught TypeError: Object [object Object] has no method 'fancybox'