Friday, 15 August 2014

jquery - Fancybox Slideshow works only once -



jquery - Fancybox Slideshow works only once -

my fancybox slideshow works 1 time , stops. can tell it's not looping because broke can't figure out what. if go page "extended functionality" , seek out you'll see it's not working there either.. or @ to the lowest degree me.

<!-- add together fancybox library --> <script type="text/javascript" src="http://www.website.com/+fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script> <script type="text/javascript" src="/+fancybox/jquery.fancybox.js"></script> <link rel="stylesheet" type="text/css" href="http://www.website.com/+fancybox/jquery.fancybox.css" media="screen" /> <link rel="stylesheet" type="text/css" href="http://www.website.com/+fancybox/helpers/jquery.fancybox-buttons.css" /> <script type="text/javascript" src="http://www.website.com/+fancybox/helpers/jquery.fancybox-buttons.js"></script> <link rel="stylesheet" type="text/css" href="http://www.website.com/+fancybox/helpers/jquery.fancybox-thumbs.css" /> <script type="text/javascript" src="http://www.website.com/+fancybox/helpers/jquery.fancybox-thumbs.js"></script> <script type="text/javascript" src="http://www.website.com/+fancybox/helpers/jquery.fancybox-media.js"></script> <!-- fancybox properties --> <script> $(document).ready(function() { $.noconflict(); $('.fancybox').fancybox({ padding : 0, preveffect : 'fade', nexteffect : 'fade', openeffect : 'elastic', closeeffect : 'elastic', autoplay : 'true', mousewheel : 'true', helpers : { buttons : {}, title : { type: 'outside' } } }); }); </script>

responsive fancybox: http://www.fancyapps.com/fancybox/

google chrome: v24.0.1312.57

i can confirm there bug if using jquery 1.9.x

fancybox v2.1.3 broken using jquery 1.9.x can see here. v2.1.4 released create work jquery v1.9.x seems me buttons helpers js file has patched well.

as workaround, can rollback jquery v1.8.3.

see working jsfiddle using jquery 1.8.3.

see broken jsfiddle using jquery 1.9.1.

ps. did open issue @ github

** update :

the issue fixed in last commit (not updated in fancyapps home page samples neither downloadable file though)

jquery fancybox fancybox-2

No comments:

Post a Comment