Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2003
    Location
    UK
    Posts
    106
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframes accessing eachother

    I have a page with two iframes on. How can I get the page in one of the iframes, to change the page/contents of the other iframe and/or the host page?

    Monkey

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, say you give one iframe something like name="menu" or whatever and the other name="content" attributes or however you'll be working it you should be able to use this:

    <a href="page.html" target="content">linkage</a>

    to open up the link in the content iframe, or target="_top" should work to open it up in the main window

    Does that work for you?
    redhead


  •  

    Posting Permissions

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