Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Make Internal Links Scroll Smoothly with JavaScript
Subject:   Safari
Date:   2005-08-26 20:09:12
From:   ipearx

Hi there- just tried your demo page and it doesn't work well in Safari 2.0 on the mac (with Saft installed). The page jumps to the link when clicked (with no scrolling) and then reloads the whole page.


Regards,

Tim

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Safari
    2005-08-27 03:22:32  Synchro [View]

    The demo works for me in Safari, though I don't know that the scrolling is actually any less confusing than a jump. That could just be because the repeated content on the demo page confuses the eye while it's moving.

    However, having added the script (downloaded directly from the link used in the demo) to my own page, I find it has no effect in either Safari or Firefox. I've stepped through it in Venkman in Firefox and it seems to be going through the motions (it starts on load, finds my anchors and attaches events), but ends up just acting like it wasn't there. No JS errors are logged, all W3C validated. Venkman seems to find it difficult to set breakpoints inside anonymous functions which doesn't help. Ideas?