/    Sign up×
Community /Pin to ProfileBookmark

Targeting Iframes in Netscape

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.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisNov 14.2003 — 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.
Copy linkTweet thisAlerts:
@EppieauthorNov 14.2003 — Hi,

I'm using Netscape 7.0.

The code was:

this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt)?cLoc.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...
×

Success!

Help @Eppie spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...