Side navigation
#1560 closed bug (wontfix)
Opened September 01, 2007 08:04PM UTC
Closed March 31, 2008 02:20AM UTC
Last modified March 15, 2012 04:54PM UTC
ScrollToAnchors
Reported by: | saturnflyer | Owned by: | stefan |
---|---|---|---|
Priority: | minor | Milestone: | 1.2 |
Component: | interface | Version: | 1.1.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Ticket #924 is closed, but as far as I can tell in my code the problem still exists.
ScrollToAnchors kills any link that has a # with return false. It is likely that most same-page anchor links will begin with # and not have any characters preceding it. Links to external page anchors will only contain # and not begin with it. The selector should then be href^="#" instead of href*="#"
ScrollToAnchors does not work on named anchors (non-ID attributes). I'm not sure if this is by design, but it would be nice if it did work on named anchors.
Once this is done, the scroll animation on external pages does not happen. As a convention of using ScrollToAnchors it might make sense to always animate the scroll. Perhaps adding a ready() call to check the url and animate to the anchor.
Attachments (1)
Change History (1)
Changed March 31, 2008 02:20AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
Interface is no longer supported; consider switching to jQuery UI.