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
    New to the CF scene
    Join Date
    Sep 2002
    Location
    California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Navigating IFrames

    I am working on a web application that uses multiple IFrames on one main page. The application progress is as follows. The main page has serveral hrefs that IFrame #1 uses to the get method from. The value that comes from the Main page link is used to query a DB and then populate an asp page in IFrame #1.

    Once the asp page in IFrame #1 is created it contains specific href links that target IFrame #2 and the value of the Get is used to generate a new asp page for IFrame #2. All of this works very well.

    The problem that I am having and need help with is -:- Whenever the ASP page for in IFrame #1 is changed IFrame #2 still contains the old data that was based off the previous IFrame #1 values. I need to be able to change the SRC of IFrame #2 based on the OnLoad event of IFrame #1. Any one have an Idea on how to do this?

  • #2
    New to the CF scene
    Join Date
    Sep 2002
    Location
    California
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I figured it out

    I just need to map out the path to the IFrame I wanted to change.

    Here is an example if anyone else needs it.

    <Body onLoad="top.frames'Framename'].document.iFrameName.location.href='URL';">


  •  

    Posting Permissions

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