摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="text" id="mInput" /> <div onclick="btn()">确定</div> </b 阅读全文
摘要:
var oHeight = $(document).height(); //屏幕当前的高度 $(window).resize(function () { if ($(document).height() < oHeight) { $("#next").css("display", "none"); 阅读全文
摘要:
换图的方法 input[type='checkbox'] { width: 20px; height: 20px; background-color: #fff; -webkit-appearance: none; border: 1px solid #c9c9c9; border-radius: 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="aa">12.00</div> <div id="bb">12.666</div> </body></html> < 阅读全文
摘要:
if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { 如果是手机或者iPod等执行。 }else{ 电脑执行。 }; 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1 { width: 300px; height: 150px; padding: 10px; border 阅读全文
摘要:
var browser = { versions: function () { var u = navigator.userAgent, app = navigator.appVersion; return { //移动终端浏览器版本信息 ios: !!u.match(/\(i[^;]+;( U;) 阅读全文
摘要:
转自 http://www.cnblogs.com/kiter/ Video标签的使用 Video标签含有src、poster、preload、autoplay、loop、controls、width、height等几个属性, 以及一个内部使用的标签<source>。Video标签内除了可以包含<s 阅读全文
摘要:
转自:http://www.cnblogs.com/king-ever/ 1.文本框焦点问题 onBlur:当失去输入焦点后产生该事件 onFocus:当输入获得焦点后,产生该文件 Onchange:当文字值改变时,产生该事件 Onselect:当文字加亮后,产生该文件 <input type="t 阅读全文
摘要:
cursor auto :标准光标 default :标准箭头 pointer, hand :手形光标 wait :等待光标 text :I形光标 vertical-text :水平I形光标 no-drop :不可拖动光标 not-allowed :无效光标 help :帮助光标 all-scrol 阅读全文