The solution is to either make the script external or to escape the entire script with not character data tags, example:
Code:
<script type="text/javascript">
/* <![CDATA[ */
/**********************************************************************************
*
* Left-Right Stripy Curtain Script- copyright Dynamic Drive (www.dynamicdrive.com)
* Adapted from http://www.dynamicdrive.com/dynamicindex3/document3.htm
* For full source code, 100s more free DHTML scripts, and TOS,
* visit http://www.dynamicdrive.com
*
**********************************************************************************/
var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
var speed=20
var temp=new Array()
var . . .
. . . nterval(stopit)
}
}
}
function gogo(){
stopit=setInterval("openit()",100)
}
gogo()
/* ]]> */
</script>
Bookmarks