JQuery ScrollTo Not working correctly in Safari
Hello. I am using JQuery ScrollTo and LocalScroll. The problem I'm encountering is that LocalScroll works correctly in Firefox but does not work as intended in Safari.
http://grdedev.ferris.edu/~swenorr1/website/2010_02_21/index.htmlThis is how it looks and it is working as I've wanted it to, however the JQuery LocalScroll will not work in Safari browser. I believe it has to be something to do with the Function and the document ready call. I'm just wondering if I'm calling it wrong. If anyone could give me input it'd be much appreciated.
Thank you
- $(function() {
$(document).ready(function () {
$('#navigation').localScroll( {duration: 1700});
target:'#content'
});
$('.sub').localScroll( {duration: 1700});
target:'.next'
$(".return-top").click(function() {
$.scrollTo("body", {duration: 1200, axis:"y"});
});
});