/    Sign up×
Community /Pin to ProfileBookmark

beginner alert: open a hyperlink on another frame

I have searched and searched and searched. Nothing Worked!

Tried to use the following:

“javascript:parent.content.location=’test_link.html'”

It opens the frame on the correct CONTENT location. But, it odly opens a blank page with the link name, replacing the original linking frame with a blank one!

What’s up??

Help it greatly appreciated. thank you

Leonardo

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisNov 02.2003 — Show the entire context of your statement. Is it in a hyperlink or something?
Copy linkTweet thisAlerts:
@leo_bassaniauthorNov 03.2003 — It is a javascript, a menu system. It is hyperlinks, that is correct:

the context:

menu4.addItem("Interactive Multimedia Design", "javascript:parent.content.location='http://www.yahoo.com'");

menu4.addItem("E-Commerce and Web Development", "cnt/ecommerce.html");


Again, I was trying to link the menu links, which is located in a frameset's frame named MAIN. I want a link to link to a frame called CONTENT.

It opens the frame on the correct CONTENT location. But, it odly opens a blank page with the link name, replacing the original linking frame with a blank one!
Copy linkTweet thisAlerts:
@gil_davisNov 03.2003 — (This is like pulling teeth)

Specifically the HTML that is created by calling menu4.addItem().

Also, make sure when you reply that you check the box marked "Disable Smilies in This Post" below the reply window.
Copy linkTweet thisAlerts:
@leo_bassaniauthorNov 03.2003 — Hey, I thank you so much for the patience. BUt I do not understand your question.


GO to this page, where I got the menu source:

http://www.richardmartineau.net/experimental/sous-menu2.html

The code is all there, I think it will be so much easier.

THanks!

Leonardo

ps: smileys disabled ?
×

Success!

Help @leo_bassani 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.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...