Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Using Onload to determine loading order
From: Jason Nugent
Date: Sat, 23 May 1998 20:57:42 +0100


Try this:

<SCRIPT language="JavaScript"><!--

function changeWindowContents(newURL){

rightFrame.location.href = newURL;

}


// -->
</SCRIPT>

place this inside the <FRAMESET> tag of your main frameset.
rightFrame is the name of the frame that you want to change the location of.

<FRAMESET other_stuff_goes_here onLoad="changeWindowContents('new.html')">

note that you don't need parent.rightFrame.location.href, instead
just rightFrame.location.href, since the function is located in the top
level frameset document. Your frameset will load, with its initial
document, and then the new one will load based on the function above
which gets called when the frameset is loaded. new.html is the name of
the file you want to load in the frame.

Hope that helps,

Jason


> At 03:58 PM 5/22/98 -0400, you wrote:
> >For Flash 2 JavaScript must be enabled:
> >Load a blank or Static logo in the right frame.
> >Replace the contents of the right frame with the Spaghetti using onLoad
> >in frameset. onLoad in the frameset will not execute until all the
> >frames are loaded. In your case the left and right(a temporary blank or
> >Logo page).
> >John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
>

---------------------
Jason Nugent, BSc(Hons)
ap958atchebucto [dot] ns [dot] ca "Beneath this canvas monochrome
Certified Webmaster Wrapped in the shroud of this grey home
I'll paint a picture all my own
I'll paint a picture"
Live to ride,
Ride to Live. -Anacrusis

********************************************************************
The Best Place for Sport on the net! - Sportscience www.sportsci.org
********************************************************************


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Using Onload to determine loading order, Andrew Ayres

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]