Forums

This topic is locked

Controlling more than one frame?

Posted 09 Apr 2003 23:08:20
1
has voted
09 Apr 2003 23:08:20 bob Dilan posted:
I have a 3 frame page. It has a top, left and right frame. The leftframe
is labled LeftFrame and the right frame is labled ContentFrame.

I have created a menubar in the top frame that opens various menu html's in the LeftFrame. Those in turn select pages for the ContentFrame. This works fine.

My current code for one of the menubuttons in the topframe is:
window.mm_menu_0401195312_0 = new Menu("root",66,20,"Verdana, Arial,
Helvetica,sans-serif",14,"#ffffff","#ffffff","#319998","#0033cc","left","middle",3,1,1
00,-5,7,true,false,false,1,true,true);
mm_menu_0401195312_0.addMenuItem("Servers","window.open('servers.htm',
'LeftFrame');";
mm_menu_0401195312_0.hideOnMouseOut=true;
mm_menu_0401195312_0.menuBorder=0;
mm_menu_0401195312_0.menuLiteBgColor='#ffffff';
mm_menu_0401195312_0.menuBorderBgColor='#555555';
mm_menu_0401195312_0.bgColor='#555555';


What I would like it to be able to do is not only open the servers.htm in
the left frame but also change the item in the ContentFrame. Ideally, it
would just select the default jpg that opens when the page itself opens.
The file is emboss.jpg.


Thank you

Replies

Replied 10 Apr 2003 00:59:30
10 Apr 2003 00:59:30 bob Dilan replied:
I got the solution from someone in case anyone runs up against this again - I needed to add this to the servers line - ;window.open('emboss.htm', 'ContentFrame');";

Reply to this topic