Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load Page Order

Status
Not open for further replies.

rhull

Programmer
May 23, 2001
46
US
I have a frame page and i would like to have the header page completly load first, followed by the main page.
Any ideas?

<frameset rows=&quot;105,*&quot; cols=&quot;*&quot;>
<frame name=&quot;header&quot; scrolling=&quot;yes&quot; noresize target=&quot;main&quot; src=&quot;priority_grid_menu.jsp&quot;>
<frame name=&quot;main&quot; src=&quot;priority_grid.jsp&quot;>
</frameset>

so can i have 'priority_grid_menu.jsp' load before 'priority_grid.jsp' (The main content depends on the header content)

Thanks
-ryan
 
One possibility is in your frameset leave the frame src blank, only name the frame. Then in the body onLoad event of the Header page, run a window.open ('URLtoLoad','TargetFramename');

The .jsp should be done processing before the other pages load up...

Kevin
 
you could leave the src attribute of the secondairy frame blank, and then set it with js onload of the main frame.


ie:

parent.main.location=&quot;priority_grid.jsp&quot;;

(at least I think thats right) theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top