Error i'm receiving on console.
Code:Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox.js:93 Uncaught TypeError: Cannot set property 'buttons' of undefined jquery.fancybox-buttons.js:23 Uncaught TypeError: Cannot set property 'media' of undefined jquery.fancybox-media.js:39 Uncaught TypeError: Cannot set property 'thumbs' of undefined jquery.fancybox-thumbs.js:26 Uncaught TypeError: Object [object Object] has no method 'cycle' script.js:7
Tried relinking files, checking to see if any other versions of jquery were running etc.
Jquery code just in case.Code:<!-- Add jQuery library --> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <!-- Add mousewheel plugin (this is optional) --> <script type="text/javascript" src="js/jquery.mousewheel-3.0.6.pack.js"></script> <!-- Add fancyBox --> <link rel="stylesheet" href="css/jquery.fancybox.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery.fancybox.js"></script> <!-- Optionally add helpers - button, thumbnail and/or media --> <link rel="stylesheet" href="css/jquery.fancybox-buttons.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery.fancybox-buttons.js"></script> <script type="text/javascript" src="js/jquery.fancybox-media.js"></script> <link rel="stylesheet" href="css/jquery.fancybox-thumbs.css" type="text/css" media="screen" /> <script type="text/javascript" src="js/jquery.fancybox-thumbs.js"></script> <script type="text/javascript" src="js/script.js"></script> <script type="text/javascript" src="js/jquery.cycle.all.js"></script>
Code:$(document).ready(function() { }); $("#slideshowtime").css("overflow", "hidden"); $("ul#slides").cycle({ fx: 'fade', pause: 1, prev: '#prev', next: '#next' }); var nawaid; $(function() { function formatTitle(title, currentArray, currentIndex, currentOpts) { return '<div id="tip7-title"><span><a href="javascript:;" onclick="$.fancybox.close();"><img src="/data/closelabel.gif" /></a></span>' + (title && title.length ? '<b>' + title + '</b>' : '' ) + 'Image ' + (currentIndex + 1) + ' of ' + currentArray.length + '</div>'; } $(".fancybox-picture").fancybox({ 'showCloseButton' : false, 'titlePosition' : 'inside', 'titleFormat' : formatTitle }); /* * About Popout */ $('.popout_link').fancybox({ width:"75%", height:"75%" }); /* * Vimeo Videos */ $(".ree").fancybox({ fitToView : false }); /* * Video Fancybox */ $('.fancybox-media').attr('rel', 'media-gallery').fancybox({ openEffect : 'none', closeEffect : 'none', prevEffect : 'none', nextEffect : 'none', arrows : false, helpers : { media : {}, buttons : {} } }); /* * Gallery Fancybox */ $('.fancybox-thumbs').fancybox({ prevEffect : 'none', nextEffect : 'none', autoDimensions : true, closeBtn : true, arrows : true, nextClick : true, helpers : { thumbs : { width : 150, height : 150 } } }); /* * Generating Thumbnails of Vimeo videos */ $(".motion-media").each( function() { var code = $(this).attr("href").replace( "http://www.vimeo.com/", ""); var temp = $(this); $.ajax({ url : 'http://vimeo.com/api/v2/video/' + code + '.json', dataType : 'jsonp', success : function(data) { nawaid = data; var thumbnail = "<img src=\"" + data[0].thumbnail_large + "\" />"; temp.text(""); temp.html(thumbnail); } }); }); });
Maybe i'm missing something?


Reply With Quote
Bookmarks