<! 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 = UTF-8"/>
<Title> tab table </title>
<Script type = "text/javascript" language = "javascript" src = "jquery-1.7.1.min.js">
</Script>
<Script type = "text/javascript" language = "javascript" src = "jquery-ui-1.8.18.custom.min.js">
</Script>
<Link rel = "stylesheet" href = "ui-lightness/jquery-ui-1.8.18.custom.css"/>
<Script type = "text/javascript" language = "javascript">
$ (Function (){
$ ("# Tabs"). tabs ({
// Disabled: [1], // defines the unavailability Element
Selected: 2
});
$ ("# Tabs"). tabs ("remove", 2 );
$ ("# Tabs"). tabs ("add", "tab-3", "four ");
})
</Script>
</Head>
<Body>
<Div id = "tabs">
<Ul>
<Li> <a href = "# tab-1"> tab 1 </a> </li>
<Li> <a href = "# tab-2"> tab 2 </a> </li>
<Li> <a href = "# tab-3"> tab 3 </a> </li>
<Li> <a href = "# tab-4"> tab 4 </a> </li>
</Ul>
<Div id = "tab-1"> News: Tang Miao killed Bai Gujing </div>
<Div id = "tab-2"> Entertainment News: Zhang Jie's </div>
<Div id = "tab-3"> IT news: Apple argues </div>
<Div id = "tab-4"> Lele </div>
</Div>
</Body>
</Html>
From xweina's column