Web Analytics Made Easy -
StatCounter Delay frame/page load - CodingForum

Announcement

Collapse
No announcement yet.

Delay frame/page load

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delay frame/page load

    Hi.

    I need to delay a frame loading. Just a few seconds. My navigation frame has many mouse-over graphics and I simply want the other two frames to be given a chance to build before my nav frame starts loading.

    I need clear easy advice cos I'm stupid.

    Any help most welcome. Many thanks in advance )

  • #2
    WOW! Thanks Dave.

    My first reaction was to write back and say no - not OK, but I rubbed some brain cells together and I have it working. Got it inmy 1st (top) frame. Guess I can rig-up a delay with the 'onload' too if the 3rd frame needs more time.

    Such a short simple and sweet solution. Thanks so much

    Comment


    • #3
      Got a problem. IE6, NN6 and Mozilla work fine but NN4 doesn't load the nav frame (frame B). I get a Javascript error report I don't understand..."window.top.frames.B has no properties."

      I've altered the code to allow the third frame a bit more time...

      onLoad=setTimeout("window.top.frames['B'].location.href='left.html'",1000)

      Have I done something wrong?

      Working test example at... http://www.com32.com/kovertest12/
      Last edited by Mr Twirly Cane; Jul 2, 2002, 10:40 PM.

      Comment

      Working...
      X