摘要:
<!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=gb23 阅读全文
posted @ 2011-08-25 20:01
春哥也编程
阅读(851)
评论(0)
推荐(0)
摘要:
<style type="text/css"> #shadow, #text { font: 12px/16px Arial; width: 200px; overflow: hidden; height: 16px; } #shadow { position: absolute; border-width: 0px; padding: 0px; visibility: hidden; } #text { resize: none; } </style> <script type="text/javascript"> 阅读全文
posted @ 2011-08-25 19:52
春哥也编程
阅读(2269)
评论(0)
推荐(1)
摘要:
新增页面控件 这个是用了比较少的DOM操作,也可以采取完全用DOM来实现的具体DOM的属性见:http://www.w3school.com.cn/htmldom/index.asp以上实例的代码<script language="javascript"> var count= 0 ; //全局变量统计总数 var maxfile = 5;//限制控件个数 //增加元素 function addmx() { //if(count >= maxfile) return;//限制最多显示多少个行 ... 阅读全文
posted @ 2011-08-25 19:39
春哥也编程
阅读(319)
评论(0)
推荐(0)

浙公网安备 33010602011771号