iframe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keon

    iframe

    Hoi

    I want to include a html page (include.html) in a iframe on another page
    (start.html). After a while (about 1 min) include.html must change to
    another page . But the start.html may not been refreshed. Is this
    possible? So yes how?

    Greeting
    Keon


  • Joakim Braun

    #2
    Re: iframe

    "Keon" <jansen.koen@te lenet.be> skrev i meddelandet
    news:A6_od.3393 1$VJ.1652825@ph obos.telenet-ops.be...[color=blue]
    > Hoi
    >
    > I want to include a html page (include.html) in a iframe on another page
    > (start.html). After a while (about 1 min) include.html must change to
    > another page . But the start.html may not been refreshed. Is this
    > possible? So yes how?[/color]

    You can use setTimeout() to trigger code to run after a certain time.

    Like:

    setTimeout("doc ument.getElemen tById('myIframe ').src = 'anotherpage.ht ml'",
    60000);

    (the last parameter is in milliseconds)

    Or you could have similar code in the iframe page.

    Joakim Braun


    Comment

    • Keon

      #3
      Re: iframe


      "Joakim Braun" <joakim.braun@j fbraun.removeth is.com> wrote in message
      news:0O2pd.1741 2$1p.15027@nntp server.swip.net ...[color=blue]
      > "Keon" <jansen.koen@te lenet.be> skrev i meddelandet
      > news:A6_od.3393 1$VJ.1652825@ph obos.telenet-ops.be...[color=green]
      > > Hoi
      > >
      > > I want to include a html page (include.html) in a iframe on another page
      > > (start.html). After a while (about 1 min) include.html must change to
      > > another page . But the start.html may not been refreshed. Is this
      > > possible? So yes how?[/color]
      >
      > You can use setTimeout() to trigger code to run after a certain time.
      >
      > Like:
      >
      > setTimeout("doc ument.getElemen tById('myIframe ').src = 'anotherpage.ht ml'",
      > 60000);
      >
      > (the last parameter is in milliseconds)
      >
      > Or you could have similar code in the iframe page.
      >
      > Joakim Braun
      >
      >[/color]

      It's working created thanks

      greetings
      Koen


      Comment

      Working...