[thelist] Frames, Javascript and IE 5.5
.jeff
jeff at members.evolt.org
Fri Jul 20 13:33:46 CDT 2001
katherine,
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Katherine Spice
:
: Can anybody tell me why the following
: snippet of javascript (which works with
: NN 2-6, Mozilla, and IE 3-5) won't work
: with IE 5.5?
:
: parent.framename.location = "/dir/page.html";
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
probably cause you're not referencing it correctly. if you want the browser
to initiate a page change, then you need to change the href property of the
location object.
parent.framename.location.href = '/dir/page.html';
alot of browsers are forgiving about this -- i'm guessing ie5.5 is not.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: PPS - Please don't lecture me on the evils of
: using frames - I know.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
have you read?
http://evolt.org/article/thelist/22/293/
j/k
have a good one,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list