Link to home
Start Free TrialLog in
Avatar of terencepires
terencepires

asked on

Go to an anchor after page load

hi there,

i would like to a page to go to a particular anchor when it finishes loading. I tried the "myPage#myAnchor" but it doesn't work well since the page has lots of elements to load up.
I tried to use the "setTimeout" function without success...

Any idea ?

Thanks by advance,

Terence
ASKER CERTIFIED SOLUTION
Avatar of hendrik_johns
hendrik_johns
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of terencepires
terencepires

ASKER

thanks to both of you, i used the onload handler and a function of my own as well

cheers

Terence