View Single Post
  #1  
Old 07-23-2004, 05:17 PM
 
brett brett is offline
 

Member
  
Join Date: Jun 2004
Posts: 10
 

Default java error wanna take a look?

Was trying to put this in product.tpl to add a pop up color chart.

Put in function in "top" with other java functions and put call in lower specifically under add to cart.
I keep ending up with errors and don't understand why, does someone?



{literal}
}
function popUp()
{popup=window.open('color chart.jpg', 'poppage, width=350 , height=450');}
{
{/literal}


<form>
<input type=button value="Open " onClick="javascript:popUp($ImagesDir}/color chart.jpg)">
</form>



thanks
Reply With Quote