Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Jump to Anchor Delay

Jump to Anchor Delay
Thread Tools
selowitch
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
May 15, 2005, 06:32 PM
 
On this website, heading back to the main page via a link does work and you do end at the anchor corresponding to the item you just clicked, but unfortunately it loads the page from the top first for a second before jumping to the spot where the anchor is.

Is there some way to prevent this behavior via the DOM or via JavaScript?

-Sam
     
derbs
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status: Offline
Reply With Quote
May 16, 2005, 07:03 AM
 
I know most browsers handle this differently. IE on a pc jumps as soon as the anchor is loaded, safari i think only jumps until the entire page has finished loading.

The best solution would be to not use anchors, but use a separate page.
     
selowitch  (op)
Mac Elite
Join Date: Nov 2003
Location: Rockville, MD
Status: Offline
Reply With Quote
May 16, 2005, 09:04 AM
 
Originally Posted by derbs
The best solution would be to not use anchors, but use a separate page.
Sure, but that's not going to happen on this particular job. I need to keep working from this basic setup.
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:44 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,