JS 标签页切换(复杂)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>resize</title>
<style type="text/css">
*{margin:0;padding:0;}
 #wrap{500px; margin:10px auto; }
 #tag{ 498px; overflow:hidden; background:#000; border:1px solid #000; }
 #tag li{list-style:none; float:left; margin-right:0px; color:white; padding:5px 20px; cursor: pointer;}
 #tag .current{ color:#000; background:#ccc; }
 #tagContent div{ 498px; border:1px solid #000; border-top:none; height:300px; display:none; }
</style>
</head>
<body>
<div ,//内容元素的CLASS名称,默认为J_tabClass
   }
);
// 调用对象方法
TabManager1.tabChange();

</script>
</body>
</html>