I'm very new to Javascript and I'm having a hard time finding a comprehensive answer to my issue.
I have 2 websites. When a visitor clicks on the link for my main website, I want it to open in a new window. I've tried several variations but nothing has worked so far. Here is my current script:
window.mm_menu_0204220223_0 = new Menu("root",171,18,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#333333","#F4F400","#FFFF80","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0204220223_0.addMenuItem("Snake Tray Main Site","location='http://www.snaketray.com'");
mm_menu_0204220223_0.hideOnMouseOut=true;
mm_menu_0204220223_0.bgColor='#003300';
mm_menu_0204220223_0.menuBorder=1;
mm_menu_0204220223_0.menuLiteBgColor='#003300';
mm_menu_0204220223_0.menuBorderBgColor='#003300';
What do I need to add to this script to make www.snaketray.com open in a new window?
Thank you!
I have 2 websites. When a visitor clicks on the link for my main website, I want it to open in a new window. I've tried several variations but nothing has worked so far. Here is my current script:
window.mm_menu_0204220223_0 = new Menu("root",171,18,"Verdana, Arial, Helvetica, sans-serif",12,"#000000","#333333","#F4F400","#FFFF80","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_0204220223_0.addMenuItem("Snake Tray Main Site","location='http://www.snaketray.com'");
mm_menu_0204220223_0.hideOnMouseOut=true;
mm_menu_0204220223_0.bgColor='#003300';
mm_menu_0204220223_0.menuBorder=1;
mm_menu_0204220223_0.menuLiteBgColor='#003300';
mm_menu_0204220223_0.menuBorderBgColor='#003300';
What do I need to add to this script to make www.snaketray.com open in a new window?
Thank you!