View Single Post
  #1  
Old 02-25-2006, 06:07 AM
 
N00bie N00bie is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 42
 

Default Adding Javascript

This has probably been answered on the forums, although I could not find it.

I am attempting to add some simple javascript (openWin) to the pages and whenever/whereever I add it, X-cart goes into error. All I am trying to add is:
Code:
<script language="JavaScript"> <!-- function openWin(URL) { window.open(URL,"daughter","height=400,width=400,scrollbars=yes,menubar=no,toolbars=no,status=no,location=no,resizable"); } //--> </script>

Have added it to the head region as well as in the header and I end up with the same fatal error.

Any advice on thsi one?

Thanx[/code]
__________________
X-Cart PRO Version 4.1.9
PHP 5.2.5
MySQL 4.1.22
Apache/2.0.61 (Unix)
Reply With Quote