日期:2014-05-20 浏览次数:20803 次
<head runat="server">
<title>treeleft</title>
<link rel="stylesheet" href="js/jquery.treeview.css"/>
<link rel="stylesheet" href="js/red-treeview.css"/>
<link rel="stylesheet" href="js/screen.css"/>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/jquery.cookie.js" type="text/javascript"></script>
<script src="js/jquery.treeview.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {$("#tree").treeview({collapsed: true,animated: "medium",control:"#sidetreecontrol",persist: "location"});})$(document).ready(function() { delClass(); });
function delClass(){ var lis = document.getElementsByTagName('li'); var i; var length;for( i=0; i<length;i++) {if(lis[i].getElementsByTagName('ul').length == 0) { lis[i].setAttribute('class',''); } }}</script>
</head>
<div id="sidetreecontrol" runat="server"></div>