1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

iFrames and Anchors

Discussion in 'Web Design & Development' started by Frogman, Sep 22, 2004.

Thread Status:
Not open for further replies.
  1. Frogman

    Frogman Thread Starter

    Sep 19, 2004

    Can anybody help with this problem.

    I have a basic page with an iFrame embedded. The page that the iFrame displays has anchors in it. In the main page I have a link which should scroll the iFrame to the specified anchor.

    Well, the iFrame does scroll, but so does the main page. I have tried to various ways of sorting this and the best I have come up with is to add an anchor to the top of the main page and write some Java script to return to that anchor once the link is clicked. Although this works it's not satifactory as there is a noticable screen jump.

    Here is a link to a test page that demonstrates the problem


    Any help would be greatly appriciated
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/276817

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice