www.webdeveloper.com
Results 1 to 3 of 3

Thread: iFrame and Anchor Point problem

  1. #1
    Join Date
    Jul 2003
    Posts
    9

    iFrame and Anchor Point problem

    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

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,123
    post a link to better visualise the problem..
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

  3. #3
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    13
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles