Click to See Complete Forum and Search --> : beginner alert: open a hyperlink on another frame


leo_bassani
11-02-2003, 03:35 PM
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

gil davis
11-02-2003, 04:50 PM
Show the entire context of your statement. Is it in a hyperlink or something?

leo_bassani
11-02-2003, 06:49 PM
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!

gil davis
11-02-2003, 07:16 PM
(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.

leo_bassani
11-02-2003, 09:47 PM
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 :)