View Single Post
  #3  
Old 02-07-2008, 08:40 AM
 
jbvideo jbvideo is offline
 

Advanced Member
  
Join Date: Jun 2004
Posts: 73
 

Default Re: javaScript in product.tpl

I appreciate your help throughout this forum ... but I'm afraid I need to be walked through this

I've tried the literal tags and I still cannot get it to work.

Would you mind spelling it out for me? Hopefully others can benefit from this too.

Do I put the script in the detailed description or the product.tpl

I tried putting this at the top of the detailed description but it doesnt work.

{script language="JavaScript"}
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
{/script}



and this as my link

<a href="javascript:;" onClick="MM_openBrWindow('/myImageFile.jpg','template','width=400,height=600) ">
__________________
Sharon
vers. gold 4.0.17 to 4.1.10 (july 2008 )
Reply With Quote