web
chenmiaosct
这个作者很懒,什么都没留下…
展开
-
js漂浮广告
js漂浮广告[code="html"]漂浮广告 var x = 50,y = 60 var xin = true, yin = true var step = 1 var delay = 10 var obj=document.getElementById("codefans_net") function float() { ...原创 2011-09-19 21:26:47 · 508 阅读 · 0 评论 -
autoTextarea-文本框根据输入内容自适应高度
[code="html"]autoTextarea(function($){ $.fn.autoTextarea = function(options) { var defaults={ maxHeight:360, //默认最大高度 minH...原创 2011-11-22 15:30:54 · 560 阅读 · 0 评论 -
jQuery 1.4实用技巧
禁止右键点击[code="javascript"] $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); [/code]隐藏搜索文本框文字[code="javasc...原创 2011-11-17 17:36:33 · 72 阅读 · 0 评论 -
jquery
jquery apihttp://zhudp-cn.iteye.com/blog/254445原创 2011-08-10 00:04:21 · 61 阅读 · 0 评论 -
输入框自动完成功能
Codetrinis TestTest1:Test2原创 2011-08-05 00:37:43 · 327 阅读 · 0 评论 -
eclipse编码方式
1.project->properties->resource 设置你当前选定的工程的编码,只针对当前一个工程2.window->preferences->general->workspace 设置你当前的workspace里所有工程的编码,针对这个workspace里的所有工程3.Run ->run configurations->common 设置的是你运行时的编码,也就是...原创 2011-08-04 11:53:38 · 116 阅读 · 0 评论 -
2个div并列
[code="html"]css两个div并排 左右 详细出处参考:http://www.jb51.net/css/33741.html[/code]原创 2011-07-21 23:44:10 · 115 阅读 · 0 评论 -
div +css滑动
[code="html"]DIV CSS布局实例:CSS标签切换代码* { list-style-type: none; font-size: 12px; text-decoration: none; margin: 0; padding: 0;}a { behavior: url(xuxian.htc)}.woaicss...原创 2011-07-21 23:38:25 · 107 阅读 · 0 评论 -
div+css
[code="html"] 大型门户型网站Div布局 #main-nav {background: red;height: 50px;}#header {background: blue;height: 20px;}#sidebar-a {background: darkgreen;}#content {backgroun...原创 2011-07-21 23:13:07 · 75 阅读 · 0 评论 -
全选全不选
function selectAll() { var obj = document.fom.elements; for ( var i = 0; i < obj.length; i++) { if (obj[i].name == "ids") { obj[i].checked = true; } } } function unselect...原创 2011-09-28 09:39:00 · 105 阅读 · 0 评论 -
常用css简介
常用css简介2013-07-22 09:20:35 · 76 阅读 · 0 评论