ndyrek
09-27-2005, 05:58 PM
I am having problems getting my window to open using javascript with the HV Menu. I keep getting a javascript expected ";" error. I have tried everything I can think of. Can anyone let me know what I'm missing? The normal link works in as a regular link on the page, but I can't seem to get it to work in the HV Menu.
This is the Menu item:
Menu5=new Array("NextWheels Online","javascript:{void(0); OnClick='window.open('http://www.autowaretech7.net/nextwheels/victory_intro.htm';'miniwin';'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0, resizable=0, width=789, height=569,top=0,left=0';)';} ","",0,30,100);
This is what it looks like as a normal link on the page.
<p align="center"><a href="javascript:void(0)" onClick="window.open('http://www.autowaretech7.net/nextwheels/victory_intro.htm','miniwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=789,height=569,top=0,left=0')">
<strong><font size="3" face="Verdana, Arial, Helvetica, sans-serif"><em>*Your NextWheels Online*</em> </font></strong></a></p>
This is the Menu item:
Menu5=new Array("NextWheels Online","javascript:{void(0); OnClick='window.open('http://www.autowaretech7.net/nextwheels/victory_intro.htm';'miniwin';'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0, resizable=0, width=789, height=569,top=0,left=0';)';} ","",0,30,100);
This is what it looks like as a normal link on the page.
<p align="center"><a href="javascript:void(0)" onClick="window.open('http://www.autowaretech7.net/nextwheels/victory_intro.htm','miniwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=789,height=569,top=0,left=0')">
<strong><font size="3" face="Verdana, Arial, Helvetica, sans-serif"><em>*Your NextWheels Online*</em> </font></strong></a></p>