Forum Moderators: open
I've created a javascript menu in fireworks but one of the links needs to pop up a new window of dimenssions 500x400. Does anybody know the correct syntaxt for that?
Here's a piece of the code where I would call the pop-up
mm_menu_0927134526_3.addMenuItem("Check Status of an Outage","location='#'");
mm_menu_0927134526_3.addMenuItem("Storm Safety Tips","xyz.com'"); The one that has the pound is where the pop-up would be called.
Thank you very much
I put it in a couple different ways and it gave me errors, except like this...
mm_menu_0927134526_3.addMenuItem("Check Status of an Outage", window.open("testwindow1.htm", "blank","toolbar=no,width=250,height=250"));
mm_menu_0927134526_3.addMenuItem("Storm Safety Tips","location=XYZ.com'");
but now it pops the window on load. How can I change it so that it loads the window on click.