摘要: 你好 阅读全文
posted @ 2016-12-05 14:07 放荡不羁的春天 阅读(106) 评论(0) 推荐(0) 编辑
摘要: <div onclick="a()"> <p onclick="b()"></p> </div> div和p元素都绑定onclick事件,当点击p元素的事件,及父级的onclik可能也会同时出发,当不希望冒泡或默认事件发生时,可以使用3种方法来执行组织事件发生: 1:return false 可以阻 阅读全文
posted @ 2016-11-25 17:48 放荡不羁的春天 阅读(155) 评论(0) 推荐(0) 编辑
摘要: <input type="text" readonly name='lbinput' onfocus="lbinput.blur()"> 阅读全文
posted @ 2016-11-18 15:32 放荡不羁的春天 阅读(2686) 评论(0) 推荐(0) 编辑
摘要: js: 获取属性的值: document.getElementById("id").value; 设置属性的样式: document.getElementById("id").style.color="#ccc"; document.getElementById("ta").style.fontSize='10px'; jquery: 获取属性的值: $("#id").val(); 设置属性的... 阅读全文
posted @ 2016-10-14 15:30 放荡不羁的春天 阅读(266) 评论(0) 推荐(0) 编辑
摘要: <div class="item"> <h1>A</h1> <div class="tooltip"> <p>Take a look at our crew and become a friend.</p> <div class="arrow"></div> </div> </div> <div c 阅读全文
posted @ 2016-10-09 16:47 放荡不羁的春天 阅读(1877) 评论(0) 推荐(0) 编辑
摘要: 签收单: ... 阅读全文
posted @ 2016-09-26 11:15 放荡不羁的春天 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 图片显示 引入js+css /* 弹出层样式 */ #pbOverlay, #pbImage, #pbBottom, #pbCloseBtn{position:fixed;z-index:9999;} #pbOverlay{left:0;top:0;width:100%;height:100%;background:#000;c... 阅读全文
posted @ 2016-09-23 16:58 放荡不羁的春天 阅读(1581) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-09-18 16:40 放荡不羁的春天 阅读(574) 评论(0) 推荐(0) 编辑
摘要: 鼠标划我显示下拉信息 下拉信息1 下拉信息2 阅读全文
posted @ 2016-09-09 10:52 放荡不羁的春天 阅读(3683) 评论(0) 推荐(0) 编辑
摘要: HTML5中 不支持 Html4.01的属性: <acronym> <applet> <basefont> <big> <center> <dir> <font> <frame> <frameset> <noframes> <strike> 阅读全文
posted @ 2016-08-29 09:53 放荡不羁的春天 阅读(155) 评论(0) 推荐(0) 编辑