[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-05 Thread clorentzen
My issue isn't the back button -- but just that if I make repeated attempts to use the links on my hub.html page, get to the scrolling page (default.html), and then go back to the hub page and attempt the "site two" or "site three" links again, and repeat this process, sometimes the links work cor

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-05 Thread Ariel Flesler
Uhm... I really dunno. As I told you, the plugin won't react to clicks on the Back button. I intend to take another look at this asap. Try putting the window.scrollTo line outside the document.ready. On Thu, Mar 5, 2009 at 1:28 PM, clorentzen wrote: > > Ariel -- > > Thanks again for responding.

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-05 Thread clorentzen
Ariel -- Thanks again for responding. I've tried a few more things, but the links from another page targeting my scrolling page still seem to work unreliably. I'm in FF3 mainly, but can see the issue in Safari 3 and IE6 and 7 as well. Sometimes the links to "site two" and "site three" on this pa

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread Ariel Flesler
It seems to be working well for me, on FF2. Using the back button won't animatedly scroll, the plugin isn't monitoring those changes. On Wed, Mar 4, 2009 at 7:28 PM, clorentzen wrote: > > Ariel -- > > Thanks for your reply. If I go to my test page from one of the full > URLs with an anchor, and

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread clorentzen
Ariel -- Thanks for your reply. If I go to my test page from one of the full URLs with an anchor, and then refresh the page, I still have the problem -- namely, it resets to the beginning of the page and doesn't properly scroll to the anchor location in the URL. Also, when I click my "site two" l

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread Ariel Flesler
I think that happens because you first need to reset the scroll to (0,0). The browser also scrolls natively. I'm planning to add this within $.localScroll.hash, as well as taking advantage of sync animations, added since 1.3. But for now... :) $(document).ready(function(){ window.scrollTo(0,0

[jQuery] Re: LocalScroll with anchor in URL not working

2009-03-04 Thread clorentzen
Sorry, I hit "post" button too quickly there... You can see an example linking to a test page here: http://www.cementresources.com/paneltest/hub.html I've seen the issue in FF3, Safari 3, and in IE 6 and 7. Not sure what I'm doing incorrectly. Any help appreciated. Thank you! On Mar 4, 1:43