You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2021. It is now read-only.
this may help someone, i presume this is just because of old code,
<script type="text/javascript"> $(document).ready(function(){ $("#home-fade").nivoSlider({ // Image slider; requires 'nivoSlider' jQuery plugin effect: 'fade' ,directionNav: false ,controlNav: false ,animSpeed: 600 // Slide transition speed ,pauseTime: 4000 // How long each slide will show ,pauseOnHover: false // Stop animation while hovering }); }); </script>Original code I had before I added bootstrap and it was using jquery 1.6.1
Upgraded and using now jquery 2.1.1 but got a TypeError: $ is not a function error.
Alot of googling I found a workaround fix.
Fixed using
<script type="text/javascript"> var j = jQuery.noConflict(); j(document).ready(function(){ j("#home-fade").nivoSlider({ // Image slider; requires 'nivoSlider' jQuery plugin effect: 'fade' ,directionNav: false ,controlNav: false ,animSpeed: 600 // Slide transition speed ,pauseTime: 4000 // How long each slide will show ,pauseOnHover: false // Stop animation while hovering }); }); </script>The text was updated successfully, but these errors were encountered: