<! Doctype HTML public "-// W3C // dtd html 4.0 transitional // en">
<HTML>
<Head>
<Title> new document </title>
<Meta name = "generator" content = "editplus">
<Meta name = "author" content = "">
<Meta name = "keywords" content = "">
<Meta name = "Description" content = "">
</Head>
<Body>
<Style>
Ul
{
Margin: 0;
Padding: 0;
List-style-type: none;
Vheight: 24px;
}
Ul Li
{
Float: left;
Display: inline;
}
Ul
{
Text-Decoration: none;
Border-top: 1px solid # DDD;
Border-bottom: 1px solid # CCC;
Border-left: 1px solid # DDD;
Border-Right: 1px solid # DDD;
Display: block;
Padding: 5px 0 3px;
Margin-left:-1px;
Width: 158px;
Font-weight: bold;
Text-align: center;
Line-Height: 15px;
Color: # 11449e;
}
A. On, A: hover
{
Padding-top: 6px;
Padding-bottom: 3px;
Width: 159px;
Border: 1px solid # CCC;
Border-bottom: 0;
Background: # deebff;
}
</Style>
<SCRIPT> function finda (OBJ)
{
Taga = obj. getelementsbytagname ("");
If (taga. length> 0)
Return taga [0];
}
Function findcontentdiv (OBJ)
{
Tagdiv = obj. childnodes;
VaR arrdiv = new array;
For (I = 0; I <tagdiv. length; I ++)
{
VaR objdiv = tagdiv [I];
VaR Re =/Div/I;
VaR arr = re.exe C (objdiv. tagname );
If (Arr! = NULL)
{
If (ARR. Index = 0)
{
Arrdiv. Push (objdiv );
}
}
}
Return arrdiv;
}
Function chshift (O, divgroupid)
{
O. style. cursor = "Pointer ";
VaR T = O. parentnode;
VaR TA = T. getelementsbytagname ("");
VaR tgroup = Document. getelementbyid (divgroupid );
VaR tgroupdiv = findcontentdiv (tgroup );
For (I = 0; I <ta. length; I ++)
{
Ta [I]. classname = NULL;
Tgroupdiv [I]. style. Display = "NONE ";
If (TA [I] = finda (o ))
{
Ta [I]. classname = "on ";
Tgroupdiv [I]. style. Display = "Block ";
}
}
} </SCRIPT>
<Table> <tr> <TD>
<Div>
<Ul>
<Li onmouseover = "javascript: chshift (this, 'divgroup')"> <a class = "on"> tab Title 1 </a> </LI>
<Li onmouseover = "javascript: chshift (this, 'divgroup')"> <A> tab Title 2 </a> </LI>
<Li onmouseover = "javascript: chshift (this, 'divgroup')"> <A> tab Title 3 </a> </LI>
</Ul>
</Div>
</TD> </tr>
<Tr> <TD>
<Div id = "divgroup">
<Div>
<Table>
<Tr> <TD> content corresponding to a tab title </TD> </tr>
<Tr> <TD> content corresponding to a tab title </TD> </tr>
<Tr> <TD> content corresponding to a tab title </TD> </tr>
<Tr> <TD> content corresponding to a tab title </TD> </tr>
<Tr> <TD> content corresponding to a tab title </TD> </tr>
</Table>
</Div>
<Div style = "display: none">
Content corresponding to tab Title 2
</Div>
<Div style = "display: none">
Content corresponding to tab Title 3
</Div>
</Div>
</TD> </tr> </table>
</Body>
</Html>