Results 1 to 3 of 3

Thread: IFrames src changing

  1. #1

    Thread Starter
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    IFrames src changing

    hey everyone,
    I am developing a website that uses IFRAMEs. I know you can changed the src of an IFRAME by giving it a name and using the usual methods. My question is this:

    I have two iframes on one page.
    How do I get one iframe to change the src of the other iframe?
    I would think this would be difficult.

    Thanks,
    Brandon
    Master of Cyber Fu - A Temple of Digital Chi

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    I'm not really sure since I never use Iframes, but try using something like

    parent.framename.src = "bla.html"
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090
    or parent.document.IfrmName.src="page.html"
    Have I helped you? Please Rate my posts.

Posting Permissions

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



Click Here to Expand Forum to Full Width