<! Doctype HTML public "-// W3C // dtd html 4.01 // en" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<Title> script 6.1 </title>
<Style type = "text/CSS">
/* Styles for the table on this page */
Table {
Border-Right: 1px solid # a7a37e;
Border-bottom: 1px solid # a7a37e;
}
TD, Th {
Font-size: 1.3em;
Padding: 3px;
}
Th {
Font-weight: bold! Important;
Border-bottom: 1px solid #333333;
Background: URL (../chapter01/images/th_bg.png) Repeat-X;
Border-top: 1px solid #333333;
Padding-top: 4px;
Border-left: 1px solid # a7a37e;
}
TD {
Border-left: 1px solid # a7a37e;
}
. Even {
Background-color: # e7f7ff;
}
. Highlight {
Background-color: # fc6! Important;
}
</Style>
<Link href = "CSS/global.css" rel = "stylesheet" type = "text/CSS">
<SCRIPT type = "text/JavaScript" src = "JS/jquery. js"> </SCRIPT>
<SCRIPT type = "text/JavaScript">
$ (Document). Ready (function (){
$ ('Table. Striped TR: even'). addclass ('even ');
$ ('Table. Striped tbody tr'). Mouseover (function (){
$ (This). addclass ('highlight ');
Vertex (this).css ('cursor ', 'pointer ');
}). Mouseout (function (){
$ (This). removeclass ('highlight ');
});
});
</SCRIPT>
</Head>
<Body id = "twocol">
<Div id = "Container">
<Div id = "banner"> <span id =" badge "> <a href =" http://www.sawmac.com/missing/js/ "> </ a> </span> </div>
<Div id = "contentwrap">
<Div id = "Main">
<H1> striped tables <Table width = "98%" border = "0" cellspacing = "0" cellpadding = "0" class = "striped">
<Thead>
<Tr>
<TH scope = "col"> product </Th>
<TH scope = "col"> Cost </Th>
<TH scope = "col"> inventory status </Th>
<TH scope = "col"> weight (in lbs.) </Th>
</Tr>
</Thead>
<Tbody>
<Tr>
<TD> ultra-glow hair spray </TD>
<TD> $20.00 </TD>
<TD> in stock </TD>
<TD>. 5 </TD>
</Tr>
<Tr>
<TD> anodyne 3000 </TD>
<TD> $495.00 </TD>
<TD> back order </TD>
<TD> 350 </TD>
</Tr>
<Tr>
<TD> Big Foot hair dryer </TD>
<TD> $55.00 </TD>
<TD> in stock </TD>
<TD> 2 </TD>
</Tr>
<Tr>
<TD> cat out of the hat </TD>
<TD> $15.00 </TD>
<TD> back order </TD>
<TD> 15 </TD>
</Tr>
<Tr>
<TD> Tickle Me Elmo </TD>
<TD> $67.00 </TD>
<TD> in stock </TD>
<TD> 3 </TD>
</Tr>
<Tr>
<TD> mens watch </TD>
<TD> $350.00 </TD>
<TD> in stock </TD>
<TD>. 5 </TD>
</Tr>
<Tr>
<TD> leather briefcase </TD>
<TD> $150.00 </TD>
<TD> in stock </TD>
<TD> 7 </TD>
</Tr>
<Tr>
<TD> lorem ipsum </TD>
<TD> $5.00 </TD>
<TD> in stock </TD>
<TD>. 25 </TD>
</Tr>
<Tr>
<TD> dolor sat </TD>
<TD> $7.50 </TD>
<TD> back order </TD>
<TD>. 25 </TD>
</Tr>
<Tr>
<TD> chicken gumbo </TD>
<TD> $15.00 </TD>
<TD> in stock </TD>
<TD> 3 </TD>
</Tr>
<Tr>
<TD> another product </TD>
<TD> $3.00 </TD>
<TD> in stock </TD>
<TD> 25 </TD>
</Tr>
<Tr>
<TD> hat for cat </TD>
<TD> $5.00 </TD>
<TD> back order </TD>
<TD>. 75 </TD>
</Tr>
</Tbody>
</Table>
</Div>
<Div id = "sidebar">
<H2> script 6.1 </H2>
</Div>
</Div>
<Div id = "footer"> <em> & #8220; building interactive web sites with JavaScript & #8221; </em> </div>
</Div>
</Body>
</Html>