Wordpress Themes - Payday Loan - High Paying Adsense List - Wordpress Themes - Bet365 bonus

PDA

View Full Version : Anchors in layer problem


rlwillis
Aug 20th 2007, 6:14 am
I am using anchors in a nested layer, (not an iframe) The anchors are working in the layer but the whole page moves as well if the browser window is to small. I only want the layer to move to the anchor. How do I stop an anchor link (#) from making the whole page jump to the top?

Thanks!

mjamesb
Aug 20th 2007, 5:52 pm
That is the default behavior of an anchor. You would have to write JS code to move the layer on the click event of the link.