Re: changing href for frame via javascript


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]

Posted by Jos Claerbout on August 04, 1999 at 09:41:32:

In Reply to: changing href for frame via javascript posted by Joel on August 03, 1999 at 16:26:43:

Joel -

I have written several applications for WebTV that do just this sort of thing; I usually use "parent.frames.frameName.document.location = URL.

I hope that helps,

Jos


: I have a link like: href="javascript:ShowIDX()"

: ShowIDX looks like this:
: parent.h_topic.location.href="somenewurl.htm"

: I have also tried
: parent.frames[1].href="somenewurl.htm"

: If I put an alert in this function, it comes up so I know the function is getting called. The problem is that the frame doesn't change. This works fine in Nav3+/IE3+.

: thanks
: joelv
: Is there any more detailed information on WebTV and javascript and frames? This site just skims over the details.




Follow-ups:



Post a Follow-up

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]