| Sign In/My Account | View Cart |
| 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.
|
||
Showing messages 1 through 1 of 1.
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?