mardi 23 décembre 2014

jQuery localScroll and smoothScroll not working


jQuery localScroll and smoothScroll is not working at all on my site. Getting an error in my console saying that my function is not defined and that it's a type error.


Any suggestions on how to fix this and get the plug in working?


This is where I am calling localScroll and in return I get an error message in my console.



<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript" src="/scrollTo/jquery.scrollTo.js"></script>
<script type="text/javascript" src="/scrollTo/jquery.localScroll.js"></script>
<script>
$( document ).ready(function() {
$.localScroll();
});
</script>


The error seems to be occurring here on this line bellow.


$( document ).ready(function() { $.localScroll(); });





Aucun commentaire:

Enregistrer un commentaire