源檔案無法直接編輯,想通過menu.js再增加一個導航。
d.add(13,1,'回圈發送','loopsend.aspx','pics/send.jpg');
在此跪謝至答案為止。

<!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=gb2312" />
<title></title>
<link rel="StyleSheet" href="https://bbs.csdn.net/topics/css/dtree.css" type="text/css" />
<script type="text/javascript" src="https://bbs.csdn.net/topics/scripts/menu.js"></script>
</head>
<body style="background-color:#FFFFFF;margin:0;">
<script type="text/javascript">
d = new dTree('d');
d.add(0,-1,'管理選單','','pics/daohang.jpg');
d.add(1,0,'發布商品','','pics/m_news.gif','pics/m_news.gif');
d.add(10,1,'商品管理','send.aspx','pics/send.jpg');
d.add(12,1,'發布公告','news.aspx','pics/send.jpg');
document.write(d);
</script>
</body>
</html>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/237059.html
標籤:JavaScript
上一篇:不理解這些代碼,求大神指教
下一篇:新手小白學習,請大佬們教一教小弟
