<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
<Title> untitled document </title>
<Style type = "text/CSS">
<! --
# Grant {
Font-family: Arial, Helvetica, sans-serif;
Font-size: 13px;
Color: # 3366cc;
Text-Decoration: none;
Height: 300px;
Width: 400px;
Margin: 0 auto;
Border: 1px solid # 3366cc;
}
# Menu {
Height: 30px;
Filter: progid: DXImageTransform. Microsoft. gradient (gradienttype = 0, startcolorstr = # cecfde, endcolorstr = # ffffff );
}
# Menu ul {
Margin: 0;
Padding: 0 ;}
# Menu Li {
Width: 98px;
Float: left;
Display: block;
List-style-type: none;
Text-align: center;
Height: 28px;
Line-Height: 28px;
Border: 1px solid # DDD;
}
# Menu Li. Hover {
Border: 1px solid # BBB;
Border-bottom: 0px;
Font-weight: bold;
Filter: progid: DXImageTransform. Microsoft. gradient (gradienttype = 0, startcolorstr = #8296c7, endcolorstr = # ffffff );
}
# Cont {
Margin: 5px ;}
-->
</Style>
<SCRIPT>
<! --
Function settab (name, cursel, n)
{
For (I = 1; I <= N; I ++)
{
VaR menu = Document. getelementbyid (name + I );
VaR con = Document. getelementbyid ("Cont" + I );
Menu. classname = I = cursel? "Hover ":"";
Con. style. Display = I = cursel? "Block": "NONE ";
}
}
// -->
</SCRIPT>
</Head>
<Body>
<Div id = "Grant">
<Div id = "menu">
<Ul>
<Li id = "menu1" class = "hover" onmouseover = "settab ('menu ',)"> China </LI>
<Li id = "menu2" onmouseover = "settab ('menu ', 2, 4)"> international </LI>
<Li id = "menu3" onmouseover = "settab ('menu ', 3,4)"> sports </LI>
<Li id = "menu4" onmouseover = "settab ('menu ', 4, 4)"> entertainment </LI>
</Ul>
</Div>
<Div id = "Cont">
<Div id = "cont1" class = "hover"> domestic, domestic, and domestic </div>
<Div id = "cont2" style = "display: none"> International, International, and International </div>
<Div id = "cont3" style = "display: none"> sports, sports </div>
<Div id = "cont4" style = "display: none"> entertainment, entertainment, and entertainment </div>
</Div>
</Div>
</Body>
</Html>