Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: GET URL and JScript problem |
| From: | Jochen Haeberle |
| Date: | Wed, 10 Jun 1998 09:41:12 +0100 |
Hi Jason,
thanks for the try, but unfortunately, it does not help. The only
difference is that parent.Main.location.href displays home.html, while
parent.Main.location gives me the total path to home.html.
The strange thing is that
parent.Main.location.href = "home.html"; m.rewind()
works while
m.rewind() ; parent.Main.location.href = "home.html"
where the location.href is the last command in the script does not work.
When it does not work, it seems to me that the page home.html will first be
loaded into the frame named Main and then "home.html" is displayed in the
calling frame.
Jochen
At 15:38 Uhr +0100 09.06.1998, Jason Nugent wrote:
>the problem? :) Seriously, the reason the words "home.html" is appearing
>in your window is because of the fact that the parent.Main.location
>actually _loads_ the new url into the window, while
>parent.Main.location.href _displays_ _what_ url is loaded in that
>window. It returns a text string, rather than loading the new URL. You
>should be able to do this:
>
> m.rewind();
> parent.Main.location = 'home.html';
>
> and it _should_ work.
>
> Hope that clears it up.
>
> Jason
>
>
>On Tue, 9 Jun 1998, Jochen Haeberle wrote:
>> javascript:var m = InternetExplorer ? parent.Navbar2.map :
>> parent.Navbar2.document.embeds[0];
>> m.Rewind();
>> parent.Main.location.href = "home.html"
>>
>> The last part would not work correctly. The flash movie goes away and then
>> I have the words "home.html" in there.
>>
>> If i cchange the href with m.Rewind so that the href is not the last
>> command of the script, it works.
>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
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-manager
Replies
GET URL and JScript problem, Jochen Haeberle
Re: GET URL and JScript problem, Jason Nugent
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

