Forums

This topic is locked

setting window size for pop-up menu

Posted 24 Apr 2003 19:50:55
1
has voted
24 Apr 2003 19:50:55 natan t posted:
maybe this should be posted in the javascript seciton....i'm new at this.

have created some pop-up menus in fireworks. imported them into dreamweaver. they work great. the windows they open are set to _blank...but how do i control the size of these windows. there's no way to assign behaviors like these to submenu items in dw. i assume it's in javascript.

here's the code for one of the submenus;
window.mm_menu_0424021510_3 = new Menu("root",78,16,"Verdana, Arial, Helvetica, sans-serif",10,"#ffcc33","#ffffff","#333333","#cc6600","right","middle",3,1,1000,-5,7,true,true,true,0,true,true);
mm_menu_0424021510_3.addMenuItem("Garments","window.open('galleries/garmentsgallery.html', '_blank');";

so, i want to set the height and width for this _blank window... but can't seem to make it work.
any help is greatly appreciated.

natant

Reply to this topic