javascript - Initiating Jquery makes Safari Crash -
my website working great in chrome, ff & ie noticed slider doesnt show on ipad or iphone , totally freezes/crashes on safari (windows 8). have managed work out next bit of jquery in footer causing issue, can't see how or why. know causing issue because when comment out - site doesnt crash safari. can see why might happening. doing wrong?
<script> $(document).ready(function(){ $('.mentioncontent a').attr ('target', '_blank'); $('.flexslider1').flexslider({ animation: "slide", animationloop: false }); $('.flexslider2').flexslider({ animation: "slide", animationloop: false }); $('.flexslider3').flexslider({ animation: "slide", animationloop: false }); $('.fancybox-media').fancybox({ onclose: function() { jwplayer('my-video').stop(); } }); }); </script>
javascript jquery safari flexslider
No comments:
Post a Comment