monstermash
Technical User
Hello,<br><br> This is my first visit to this forum. I hope someone can help me. I have 2 or more buttons on 1 page that should bring up different pop-up windows. When I originally had just 1 button on a page that brought up a pop-up window, I could get it to work fine....here is my code...<br><br><script LANGUAGE="JavaScript"><br>function newWin("contactlist.html","contact","height=450,width=250,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,right=0,top=0"
{<br>var newWin=window.open("contactlist.html","contact","height=450,width=250,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,right=0,top=0"
<br>}<br></script><br><script LANGUAGE="javascript"><br>function newWin("statistics.html","stat","height=250,width=625,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,right=0,top=0"
{<br>var newWin=window.open("statistics.html","stat","height=250,width=625,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,left=0,right=0,top=0"
<br>}<br></script><br><br>Can anyone tell me what I need to change to make my 2 different buttons bring up these 2 different pop-up windows. The buttons are in Flash if that makes any difference. Thanks for the help.