Hi --

I'm using the LocalScroll plugin, and having trouble getting it to
work when passing the anchor through as part of the URL. Instead of
scrolling to the appropriate anchor id, the window just moves a few
pixels and stops.

Calling LocalScroll on links within the page works fine, but not when
the link is coming from another page or typed directly in the browser
address bar.

My code for initializing LocalScroll is:

$(document).ready(function(){
    $.localScroll.hash({
        axis:'x',
        duration:1500
    });
    $('#container').localScroll({
        axis:'x',
        hash:true,
        duration: 1000
    });
});

Reply via email to