Click to See Complete Forum and Search --> : Targeting Iframes in Netscape


Eppie
11-14-2003, 08:10 AM
Hi,
My dhtml menu targets an iframe, changing it's content. It works perfectly in IE, but not in Netscape at all. It will only work in Netscape when I set it to open the new content in the entire browser window (not just an iframe). Has anyone come across this before?
Thanks.

gil davis
11-14-2003, 08:14 AM
More information, please.

What version of Netscape?

What do you mean by targeting? Do you mean:
<a href="..." target="windowname">
or
windowName.location.href="..."
or
document.all.windowName.src="..."

Actually, a link to your page would mean more than just a post.

Eppie
11-14-2003, 08:24 AM
Hi,
I'm using Netscape 7.0.
The code was:

this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.kenkin.location.href=this.LinkTxt}}

...where "kenkin" was the name of my iframe.

I eventually got around it by using frames instead, but would still like to hear if this can be solved.

Can't really post the link as it's the company website, and I'm not allowed FTP it till it's finished! Sorry! But thanks for the reply...