Id jump urls behaving weirdly
I have an id jump (is there a better word for it?) to
http://brianjblair.com/music/compositions/#j2
I have noticed that sometimes it doesn't go down to the id (stays at top
of page). I have never seen it work when going from an a tag. It works
sometimes when typed directly into the url box. Reload will not change the
position.
I think it has to do with me changing positions of things before the page
completely loads, with setTimeout.
How do I make it work reliably?
No comments:
Post a Comment