摘要:
//第一、相对于屏幕 function getMousePos(event) { var e = event || window.event; return {'x':e.screenX,'y':screenY} } //第二、相对于浏览器 function getMousePos(event) { var e = event || window.event;... 阅读全文
posted @ 2016-11-25 13:36
Horan
阅读(262)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-11-25 13:35
Horan
阅读(6175)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-11-25 13:32
Horan
阅读(535)
评论(0)
推荐(0)
摘要:
Chrome 自动填充的表单是淡黄色的背景解决方案; input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #fff inset; -webkit-text-fill-color: #333; } -webkit-box-shadow:是填充的背景颜色 -webkit-text-fill-color :是文字颜色 ... 阅读全文
posted @ 2016-11-25 13:30
Horan
阅读(251)
评论(0)
推荐(0)
摘要:
$(document).ready(function(){ $("#nav a").each(function(){ $this = $(this); if($this[0].href==String(window.location)){ $(this).parent("li").addClass("active"); ... 阅读全文
posted @ 2016-11-25 13:28
Horan
阅读(171)
评论(0)
推荐(0)
摘要:
.slideUp([duration][,complete])——目标元素向上滑入隐藏; .slideDown([duration][,complete])——目标元素向下滑出显示; .slideToggle([duration][,complete])——目标元素隐藏则向下滑出显示,否则向上滑入隐藏; 注:duration为方法执行的时间区间,complete为回调函数。 /*滑动效果*/ ... 阅读全文
posted @ 2016-11-25 13:24
Horan
阅读(6431)
评论(0)
推荐(0)
摘要:
HTML5上传图片预览 请选择图片文件 阅读全文
posted @ 2016-11-25 13:21
Horan
阅读(3071)
评论(0)
推荐(0)
摘要:
--> 阅读全文
posted @ 2016-11-25 13:18
Horan
阅读(1543)
评论(0)
推荐(0)
摘要:
1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 1. oncontextmenu="window.event.returnValue=false" 将彻底屏蔽鼠标右键 <table border oncontextmenu=re 阅读全文
posted @ 2016-11-25 11:24
Horan
阅读(237)
评论(0)
推荐(0)
摘要:
一、天猫 二、淘宝 三、京东 四、网易 五、百度 meta指元素可提供有关页面的元信息(meta-information),比如针对搜索引擎和更新频度的描述和关键词。 标签位于文档的头部,不包含任何内容。 标签的属性定义了与文档相关联的名称/值对。 手机端特有的有哪些? 第一个meta标签表示:强制 阅读全文
posted @ 2016-11-25 11:21
Horan
阅读(277)
评论(0)
推荐(0)

浙公网安备 33010602011771号