UL及LI元素的控制 - HttpConnTestDemo
来源:互联网 发布:美工外包合同 编辑:程序博客网 时间:2024/06/06 08:31
UL及对其中LI元素的设置。
<!-- Description: UL及LI元素的控制。 Author: xiaolong Date: 2009年9月10日, 9:59:17 --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>My JSP 'testHttpConn.jsp' starting page</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css" mce_href="styles.css"> --> <style> <!-- #sfxUl{ list-style:none; float:left; } #sfxUl li{ float: left; padding:0px 25px; text-align:center; } .liCls { color:blue; font-size:13px; } .liCls_Over { text-decoration:none; font-size:13px; cursor:hand; color:#fff; background-color:#3399CC; } --></style> <script type="text/javascript"><!-- function fillSfx(val){ document.urldetail.urlSuffix.value=val; } startList=function(){ if(document.all&&document.getElementById){ sfxUlRoot=document.getElementById("sfxUl"); if(sfxUlRoot!=null){ //alert(sfxUlRoot.childNodes.length); for(i=0;i<sfxUlRoot.childNodes.length;i++){ liNode=sfxUlRoot.childNodes[i]; if(liNode.nodeName=="LI"){ liNode.className="liCls"; liNode.onmouseover=function(){ this.className+="_Over"; } liNode.onmouseout=function(){ this.className=this.className.replace("_Over",""); } }//if }//for } }//if }//startList window.onload=startList; --> </script> </head> <body > <br> <br> <form name="urldetail" action="" method="post"> 请输入URL后缀:<input name="urlSuffix" type="text" value=""></input> <input type="submit" value="提交"></input> </form> 常用后缀: <ul id="sfxUl"> <li val="/login/" onClick="fillSfx(this.val);">login包</li> <li val="/web/mcc/" onClick="fillSfx(this.val);">web包</li> </ul> <br><br> <br> <table width="758" border=1 cellPadding=1 cellSpacing=1 align=center style="table-layout: fixed; word-break: break-all" mce_style="table-layout: fixed; word-break: break-all"> <tr> <td width="5%">1</td> <td width="75%"><a href="http://123.121.121.2:9000/" mce_href="http://123.121.121.2:9000/" target="_blank">http://123.121.121.2:9000/</a></td> <td width="20%">连接失败</td> </tr> <tr> <td width="5%">2</td> <td width="75%"><a href="http://13.132.32.8:9081/" mce_href="http://13.132.32.8:9081/" target="_blank">http://13.132.32.8:9081/</a></td> <td width="20%">连接失败</td> </tr> </TABLE> </body> </html>
- UL及LI元素的控制 - HttpConnTestDemo
- 控制ul下 的li
- Css <ul><li>列表的样式的控制</li></ul>
- Css中控制当鼠标滑过<li>元素时,显示它里面的<ul>元素
- 使ul的li元素居中对齐
- <ul> 中 <li>元素的横排居中
- css控制UL LI 的样式详解
- ul/li的使用及浏览器兼容问题
- ul/li的使用及浏览器兼容问题
- css中控制ul,li的缩进距离
- css控制UL LI 的样式详解(推荐)
- 关于css控制ul li的几点经验
- IE6、7下li元素的子元素为dl,ul,ol时产生的bug
- <ul><li></li></ul>之间的文字居中水平显示
- jQuery里 $("ul > li") 跟 $("ul li") 的区别
- HBuilder动态的向<ul></ul>中插入<li></li>
- HTML 去除 li 前面的小黑点及 ul、li 部分属性介绍
- ul li css 的表格
- 基于PHP的新Web开发框架
- 过滤器处理中文乱码问题
- 3GP文件格式的研究(有转载)
- Linux笔记(11)入对行与嫁对郎:Linux的职业前景
- SQL dateadd datediff函数
- UL及LI元素的控制 - HttpConnTestDemo
- Yokoso! – Web Infrastructure Fingerprinting & Delivery Tool
- 如何提高网站访问流量(15种最新提高网站流量方法)
- [SQL Server]延迟执行
- C#实现的根据日期得到今天是星期几
- VS2005下如何安装配置编译Qt4.5
- 贪心算法详解
- HDOJ 1029 Ignatius and the Princess IV [map]
- wince tcpmp移植相关