faqts : Computers : Programming : Languages : JavaScript : Frames

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 11 people (82%) answered Yes
Recently 8 of 10 people (80%) answered Yes


Is it posible to force the order which the frames are loaded?

Jun 6th, 2002 09:21
jsWalter, John Bevan,

I know of only one way...
   function init()
      document.frames['c'].location.href = "red.html";
      document.frames['b'].location.href = "green.html";
      document.frames['a'].location.href = "yellow.html";
<!-- Notice, there is not a SRC attribute to these FRAME tags -->
<frameset rows="25%,*,25%">
  <frame name="a" id="a" scrolling="Auto">
  <frame name="b" id="c" scrolling="Auto">
  <frame name="c" id="c" scrolling="Auto">