View Single Post
  #3  
Old 05-09-2003, 09:24 AM
  RazorWriter's Avatar 
RazorWriter RazorWriter is offline
 

Advanced Member
  
Join Date: Dec 2002
Location: Arizona, USA
Posts: 50
 

Default is javascript even possible?

I get Smarty errors whether I put a javascript in home.tpl, or the actual body of the page I'm working on.
the script is:

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

and the error:

Fatal error: Smarty: [in help/customer_service.tpl line 6]: syntax error: invalid attribute name - 'window.open(theURL,winName,features);' in /home/www/urbanhomemaker/store/Smarty-2.3.0/Smarty_Compiler.class.php on line 1398
Reply With Quote