Unknow code
First, let me confess, I am only beginning to learn js. I am in the process of updating pages for a new client who got taken advantage of by her former web designer.
ANYWAY...I am updating pages and trying to clean up the coding/CSS. I am unfamiliar with the following script and want to know if I'm going to screw something up by setting up an external CSS file.
Here's the code:
<!--[if !mso]>
<style> li.MsoNormal
{mso-style-parent:"";
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";
margin-left:0in; margin-right:0in; margin-top:0in}
span.style161
{font-family:Arial;
color:black}
span.body1
{font-family:Arial;
color:black;
font-weight:normal}
div.Section1
{page:Section1;}
span.GramE
{}
table.MsoTableGrid
{border:1.0pt solid windowtext;
font-size:10.0pt;
font-family:"Times New Roman";
}
</style>
<![endif]-->
<script>
<!--
// gets current date and converts it
function MakeArray(n) {
this.length = n
return this
}
monthNames = new MakeArray(12)
monthNames[1] = "January"
monthNames[2] = "February"
monthNames[3] = "March"
monthNames[4] = "April"
monthNames[5] = "May"
monthNames[6] = "June"
monthNames[7] = "July"
monthNames[8] = "August"
monthNames[9] = "September"
monthNames[10] = "October"
monthNames[11] = "November"
monthNames[12] = "December"
function customDateString(oneDate) {
var theMonth = monthNames[oneDate.getMonth() + 1]
var theYear = 2007
return theMonth + " " + oneDate.getDate() + ", " + theYear
}
//-->
</script>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
Last edited by jannmirch : 06-14-2007 at 05:44 PM.
Reason: More code...
|