Flasher Archive

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


Subject: Re: Flash2: forcing a loading order with onLoad : solved
From: Andrew Ayres
Date: Mon, 25 May 1998 12:36:21 +0100

Thanks Jason, it works!!! :-)
Andrew

ps: John, you might like to add this solution to the Flash Tech Resource?


At 04:47 PM 5/24/98 -0300, Jason wrote:
> Hey andrew, you might want to try using -
> window.body.location.href


>> My thanks to Jason, and John, for their help - it is very much appreicated.
>> I've tried your Javascript, and it works for IE4 and Communicator. With
>> Netscape 2.02 and 3, however, I get a Javascript error, "body is not
defined"
>> ("body" being the name of my right frame). Is this because the Javascript
>> is of
>> a later version? Is there any way to create a solution that works for
Netscape
>> 2.02+ and IE3.02+ ?
>>
>> cheers, Andrew
>>
>> The Javascript I used:
>>
>> <SCRIPT language="JavaScript"><!--
>>
>> function changeWindowContents(newURL){
>>
>> body.location.href = newURL;
>>
>> }
>>
>> // -->
>> </SCRIPT>
>>
>> </HEAD>
>> <FRAMESET BORDER=0 FRAMESPACING=0 FRAMEBORDER="no" BORDER="0" COLS="137,*"
>> onLoad="changeWindowContents('final-right.html')">


------------------------------------------------------------------------
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
  Flash2: forcing a loading order with onL, Andrew Ayres
  Re: Flash2: forcing a loading order with, Jason Nugent

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