Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup Window Problem


Avec

Recommended Posts

I have added an additional popup window with a sizing chart. The chart is a static html page. I am using the following script

function SizeChartWindow() {
 window.open("http://mysite/sizingchart.htm",'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=yes,copyhistory=no,width=500,height=550,screenX=150,screenY=150,top=150,le
ft=150')
}

and

<a href="" onClick="SizeChartWindow()"><img border="0" src="images/button_sizing_chart.gif"></a>

When the button is clicked the sizing chart window correctly opens, but the main window opens the front page of the store (href="") How do I get it to open the popup window but leave the main window as it is?

 

Thanks in advance

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...