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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames, can the order in which they load be controlled?

Status
Not open for further replies.

Linnq

Programmer
Oct 24, 2003
13
CA
I have built a menu that grey's out a button when the corresponding page is loaded in the "main" frame, it works fine but when the frameset loads the menu page loads before the home page, therefore the menu page throws an error because it needs to load after the home page and determine which page is in the "main" frame.

I hope that doesn't make anybody go cross-eyed, any help would be appreciated.

 
I'm sure this has come up before... did BillyRay suggest a solution in one of the postings? I think the suggestion was to set the frame source to "about:blank" and use the "onload" function of the first frame to load the second frame.

Alternatively, add a script to the end of your first page (just before the closing BODY tag) to load the second - that way you won't have to wait for any images to load before the page is considered to have "loaded".

Hope this helps.

Pete.


Web Developer & Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top