Results 1 to 6 of 6

Thread: One Iframe loading another...

  1. #1
    Newbie NeoCreations may be famous one day NeoCreations may be famous one day
    Join Date
    Nov 2004
    Location
    Florida
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question One Iframe loading another...

    I am working on a web pages that has two iframes on it. The first one is called main1 and the second is called main2. I would like to know if anyone knows a script that would make the page that loads main1 load a page in main2 after it loads all the way. Like an onload command or something that would make this happen. I can make a page in main1 load another page in main1 but I really need to find a way to make the page in main1 load a page in main2. Please/thank you ahead of time for any info that you can give me.

  2. #2
    あなた& Ectoruss may be famous one day Ectoruss may be famous one day Ectoruss's Avatar
    Join Date
    Nov 2004
    Location
    Québec, Canada, North America, Earth, Solar system, ... ! >_<
    Posts
    622
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did your index have the right label for the two split....
    What is the main code for your page.... HTML, PHP, JAVA ,CGI, etc... with more info we might be more able to help out.
    Coming soon.........

  3. #3
    Newbie NeoCreations may be famous one day NeoCreations may be famous one day
    Join Date
    Nov 2004
    Location
    Florida
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I just did the page in html. I did not say anything because I figured the iframe was just an html command. I am sorry.

  4. #4
    あなた& Ectoruss may be famous one day Ectoruss may be famous one day Ectoruss's Avatar
    Join Date
    Nov 2004
    Location
    Québec, Canada, North America, Earth, Solar system, ... ! >_<
    Posts
    622
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Not to be. I'll try to give you a template for spliting the page in two segment for loading 2 page on the same screen.

    Hope it will not be so long.
    Coming soon.........

  5. #5
    M A S T E R Zui Quan may be famous one day Zui Quan may be famous one day Zui Quan's Avatar
    Join Date
    Oct 2004
    Location
    A Vastly Superior Place
    Posts
    1,726
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Give us a link so we can look at the page and the source code you are using. That way it would be easier to give you code that works.
    Clan? What Clan?
    I'm the Master. I need no Clan.

  6. #6
    Newbie matthewchan may be famous one day matthewchan may be famous one day matthewchan's Avatar
    Join Date
    Dec 2004
    Location
    Canada
    Posts
    93
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you're using hyperlinks:
    The links in main1 must have a target that matches the targetname of main2.

    for example:
    the links on the page in main1 should be like: <a href="webpage.html" target="targetname">

    If the target name of main2 is "targetname", then any link targeted to "targetname" will load in main2.

    If you're not using hyperlinks and you want main2 to load automatically after main1 loads, I think you need a meta refresh tag or something that also targets to main2 from main1.

    ... or you can create a flash program in main1 that loads a page in main2 once it finishes loading... again... using targets.
    Last edited by matthewchan; Mar 26, 2005 at 07:27 AM.
    I download anime, watch anime,
    download more anime, watch more anime,
    and download anime soundtracks because I have no life.


    Lazy Anime Reviews | Web Development | Anime Specialists

Bookmarks

Posting Permissions

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