Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- anchor tag problem
July 8, 2008, 6:06 am
rate this thread
another page. The target page contains a lot of images. The problem is that
when the images are loading the the browser tries to jump to the anchor tag
but at this point the page mostly contains the images text descriptions and
so its much shorter. The jump jumps to where the anchor tag is at this point
but when the images finish loading the correct spot is way down the page and
the user is left near the top somewhere. If i load the page a few times and
the images get cached it works ok.
How can i delay the jump until the page is fully loaded so it goes to the
Re: anchor tag problem
Do it and see. If you give such dims, the browser is given information
to reserve space *quickly* and not have to wait for the images to
download to base its decisions on how to layout the page; when the
images finally load, they find pre-prepared comfy spots for themselves...