Hello,
I am new to trying to validate this xhtml so I will try to explain as best I
can. Ok, I currently have a draft html file which I am trying to validate to
a xhtml. Right now I have a couple of javascripts with a body onload " "
tag. What I would like is to embedded scripts using xml cdata sections eg.
<script type="text/javascript">
//<![CDATA[
for (var i = 0; i < 3; i++) {
//
}
//]]>
</script>
Here is a snippet of my code:
<script language="javascript" type="text/javascript">
<!--
function printdate() {
days = new Array(7)
days[1] = "Sunday";
days[2] = "Monday";
}
var ZanimObjects = new Array();
function ZanimSlide(AnimName, BackName, Velocity, StartXOffset,
StartYOffset)
{
var bo;
var p;
var t;
}
// -->
</script>
<script type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
//-->
</script>
<script type="text/javascript">
<!--
function P7_StyleLoader(tS) { //v1.2 by PVII
var tH='',tDoc='',tA='<LIN'+'K REL="stylesheet" HREF=',tB=' }
P7_StyleLoader('w3csheet.css');
//-->
</script>
</head>
<body onload="InitAnim()">
I would appreciate it if someone could help me out with get this to validate
using xhtml.
thank you