Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: GET URL and JScript problem |
| From: | Jason Nugent |
| Date: | Tue, 9 Jun 1998 18:28:44 +0100 |
Hey there,
Well, if parent.Main.location = "home.html"; works, then what is
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.
---------------------
Jason Nugent, BSc(Hons)
ap958
jason
Certified Webmaster
Visit IRT.org - Internet Related Technologies - http://www.irt.org
Articles on all aspects of internet development, including -
CGI/Perl, CSS, JavaScript, dHTML, Java, XML, HTML
********************************************************************
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-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
Re: GET URL and JScript problem, Jochen Haeberle
Replies
GET URL and JScript problem, Jochen Haeberle
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

