<html>
<head>
<link rel="stylesheet" type="text/css"
href="css/dhtml/dhtmlxtabbar.css">
<script src="js/dhtml/dhtmlxcommon.js"></script>
<script src="js/dhtml/dhtmlxtabbar.js"></script>
<script src="js/dhtml/dhtmlxtabbar_start.js"></script>
</head>
<body>
<div id="a_tabbar" style="width: 100%; height: 100%;"></div>
<script>
var tabbar = new dhtmlXTabBar("a_tabbar", "top");
tabbar.setHrefMode("iframes-on-demand");
tabbar.setSkin("dhx_black");
tabbar.setImagePath("resources/imgs/");
tabbar.addTab("a1", "sohu", "100px");
tabbar.setContentHref("a1","http://www.sohu.com");
tabbar.addTab("a2", "google", "100px");
tabbar.setContentHref("a2","http://www.google.com");
tabbar.addTab("a3", "baidu", "100px");
tabbar.setContentHref("a3","http://www.baidu.com");
tabbar.setTabActive("a1");
</script>
</body>
</html>
导航菜单
最新推荐文章于 2024-06-04 21:34:50 发布