acc
wlcacc
全部博文(170)
FireWorkflow(0)
Oracle(9)
ExtJS(19)
面试题集锦(5)
其他(2)
JavaScript(22)
DIV+CSS(12)
网页制作(0)
网络技术(2)
ASP(1)
Tomcat(1)
OS(0)
DB(0)
Hibernate(5)
Java(0)
Spring(1)
Struts(2)
Fireworks(15)
Windows(7)
Java(30)
MySQL(11)
2014年(7)
2010年(2)
2009年(62)
2008年(25)
2007年(67)
2006年(7)
knife800
alunfirs
格伯纳
Bsolar
浪花小雨
chengccy
qingfeng
laishiwa
Iqcw1368
分类: Java
2009-08-24 14:44:48
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE> New Document </TITLE><META NAME="Generator" CONTENT="EditPlus"><META NAME="Author" CONTENT=""><META NAME="Keywords" CONTENT=""><META NAME="Description" CONTENT=""></HEAD><BODY><script>if (!document.getElementById) document.getElementById = function() { return null; }function initializeMenu(menuId, actuatorId) { var menu = document.getElementById(menuId); var actuator = document.getElementById(actuatorId); if (menu == null || actuator == null) return; //if (window.opera) return; // I'm too tired actuator.parentNode.style.backgroundImage = "url(/images/plus.gif)"; actuator.onclick = function() { var display = menu.style.display; this.parentNode.style.backgroundImage = (display == "block") ? "url(/images/plus.gif)" : "url(/images/minus.gif)"; menu.style.display = (display == "block") ? "none" : "block"; return false; }} window.onload = function() { initializeMenu("productsMenu", "productsActuator"); initializeMenu("newPhonesMenu", "newPhonesActuator"); initializeMenu("compareMenu", "compareActuator"); }</script><style>body { font-family: verdana, helvetica, arial, sans-serif;}#mainMenu { background-color: #EEE; border: 1px solid #CCC; color: #000; width: 203px;}#menuList { margin: 0px; padding: 10px 0px 10px 15px;}li.menubar { background: url(/images/plus.gif) no-repeat 0em 0.3em; font-size: 12px; line-height: 1.5em; list-style: none outside;}.menu, .submenu { display: none; margin-left: 15px; padding: 0px;}.menu li, .submenu li { background: url(/images/square.gif) no-repeat 0em 0.3em; list-style: none outside;}a.actuator { background-color: transparent; color: #000; font-size: 12px; padding-left: 15px; text-decoration: none;}a.actuator:hover { text-decoration: underline;}.menu li a, .submenu li a { background-color: transparent; color: #000; font-size: 12px; padding-left: 15px; text-decoration: none;}.menu li a:hover, submenu li a:hover { /*border-bottom: 1px dashed #000;*/ text-decoration: underline;}span.key { text-decoration: underline;}</style></head><body><div id="mainMenu"> <ul id="menuList"> <li class="menubar"> <a href="#" id="productsActuator" class="actuator">图秀地带收藏夹</a> <ul id="productsMenu" class="menu"> <li> <a href="#" id="newPhonesActuator" class="actuator">我的好友</a> <ul id="newPhonesMenu" class="submenu"> <li><a href="">张三[10000001]</a></li> <li><a href="">李四[10000002]</a></li> <li><a href="">张三[10000001]</a></li> <li><a href="">李四[10000002]</a></li> </ul> </li> <li> <a href="#" id="compareActuator" class="actuator">陌生人</a> <ul id="compareMenu" class="submenu"> <li><a href="">张三[10000001]</a></li> <li><a href="">李四[10000002]</a></li> <li><a href="">张三[10000001]</a></li> <li><a href="">李四[10000002]</a></li> </ul> </li> </ul> </li> </ul> </div> </body></BODY></HTML>
上一篇:Java按字节截取字符串,中文是两字节
下一篇:DIV的透明层实现
登录 注册