View Full Version : Script: Top navigational bar III

05-30-2005, 08:12 AM

I have been trying to implement this script in a web page, in which there are frames. The script works nicely except as regards targets. If I use targets such as _parent, _blank or _self, it works properly, but I can't seem to target to the frame when I complete the script with the name of this frame _bottom, as it were.

Can anyone help me with this question ? thank you very much.

05-30-2005, 09:43 AM
You may be able to use this convention:
addSubmenuItem("javascript:parent.main.location='http://www.cnn.com'","News","","");Where main is the name of the frame you are targeting in the menu's parent frameset.

05-30-2005, 01:05 PM
I tried this, and I found that when I do so the frame that I mentioned is targeted but also that the menu disappears from one of the frames and 'about blank' appears instead.
However, if I repeat the code with the name of the two frames to be targeted (one where the menu should remain visible, and one where the web page that the menu link points to should be displayed, it works really well.

Thanks ever so much, for your skilled and speedy reply.