XML error in JavaScript

~J~

~J~

Soldato
Joined
20 Oct 2003
Posts
7,558
Location
London
Couple a days ago I asked for a AJAX script to rotate images (http://forums.overclockers.co.uk/showthread.php?t=17560908)

EXCELLENT script, but rather than insert the entire script between the HEAD tags, I'd like to call it via a SCRIPT tag within the HEAD tags, for example...

<script type="text/javascript" src='/inc/imageRotate.js'></script>

If I do, the script doesn't run, and running a debugger on it, I get an error saying...

Error: missing } in XML expression
Source File: inc/imageRotate.js
Line: 32
Source Code:
this.mouseovercheck=0

Any ideas as to why I get this error and how to fix it?
 
Back
Top Bottom