Click to See Complete Forum and Search --> : iFrame and Anchor Point problem


chrisw184
07-21-2003, 10:07 AM
I have a 'parent' page with a select box which in turn targets an iFrame within the 'parent' page.

The results shown for each selection option are on one 'results' page...with anchor points for each one. The options point to specific anchors on that 'results' page.

However, as the iFrame is about 150px from the top of the page, the page jumps to that anchor point in the iFrame window and I lose the top navigation of the 'parent' window because of this.

Is there a way to stop this happening and just jump to the anchor point within the iFrame and not make the 'parent' page jump too??

I hope this make sense to somebody and can help me out!

Regards

Chris W

Khalid Ali
07-21-2003, 11:37 AM
post a link to better visualise the problem..:D

wublub
07-22-2003, 02:33 PM
yes, please put a link or code so we can see..

..i'm just thinking that maybe you can include a onload javascript command in your parent page to alway put the focus to the top...

wublub