Forums
This topic is locked
how to open page from popup menu in another frame?
Posted 02 Nov 2001 22:43:49
1
has voted
02 Nov 2001 22:43:49 crazy larry posted:
Hi,I have 2 frames (top = navigation, bottom = content)
The pop up menues navigation buttons are in the top frame. The problem I have is that the popup menus open the page in the Top frame, not in the content frame.
Can you take a look at the code and see what is wrong?
Thanks
Note: I just put code from one menu. the code was taken from FW.
function fwLoadMenus() {
if (window.fw_menu_0) return;
window.fw_menu_0 = new Menu("root",105,18,"Verdana, Arial, Helvetica, sans-serif",11,"#e1e1ff","#000099","#0000f9","#e1e1ff"
fw_menu_0.addMenuItem("The Owners","location='../pages/owners.html'"
fw_menu_0.addMenuItem("Our History","location='../pages/history.html'"
fw_menu_0.fontWeight="bold";
fw_menu_0.hideOnMouseOut=true;
<a href="#" onMouseOut="MM_nbGroup('out');FW_startTimeout();" onMouseOver="window.FW_showMenu(window.fw_menu_0,283,34);MM_nbGroup('over','aboutus','../images/aboutus.gif','../images/aboutus.gif',1);" onClick="MM_nbGroup('down','navbar1','aboutus','../images/aboutus.gif',1);" target="mainFrame"; ><img name="aboutus" src="../images/aboutus.gif" width="88" height="32" border="0">
Replies
Replied 07 Nov 2001 17:51:02
07 Nov 2001 17:51:02 Carlos Pires replied:
<font face='Tahoma'>Isn´t the target your problem?
Look:
in your code -> target="mainFrame";
in the second line of your post -> bottom = content
so, try to change mainFrame by bottom.
</font id='Tahoma'>
Câmbio.
Look:
in your code -> target="mainFrame";
in the second line of your post -> bottom = content
so, try to change mainFrame by bottom.
</font id='Tahoma'>
Câmbio.