上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: load() 方法 load() 是所有jQuery工具中最简单的,向它传入一个URL,它会异步加载URL内的内容,然后将内容插入每一个选中元素中,替换掉已经存在的任何内容。 例如 也可以获取URL文档的一部分内容, 页面后面添加元素,必须要加空格(不然有时候会被认为是hash#)。 只获取一个 i 阅读全文
posted @ 2016-06-02 14:58 facial 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: $(".logo").animate( { opacity: .25, //将不透明度逐渐变成.25 height: 0 //高度逐渐变成0 }, { duration: 1000, //动画时间 complete: function() { //动画完成时的回调函数 alert("animatio 阅读全文
posted @ 2016-06-01 15:36 facial 阅读(148) 评论(0) 推荐(0) 编辑
摘要: #div1 { width: 100px; height: 100px; border: 5px black solid; padding: 10px; margin: 10px; background: orange; } #div1-son { background: white; width: 阅读全文
posted @ 2016-05-31 16:35 facial 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1. 因为项目中经常会有利用jquery操作dom元素的增删操作,所以会涉及到dom元素的绑定事件方式,简单的归纳一下bind,live,delegate,on的区别,以便以后查阅。 bind() 适用所有版本,但是根据官网解释,自从jquery1.7版本以后bind()函数推荐用on()来代替。 阅读全文
posted @ 2016-05-20 09:44 facial 阅读(167) 评论(0) 推荐(0) 编辑
摘要: http://www.toobug.net/article/how_to_design_front_end_template_engine.html http://barretlee.com/websocket-with-node/ 只有20行Javascript代码!手把手教你写一个页面模板引擎 阅读全文
posted @ 2016-05-19 11:00 facial 阅读(258) 评论(0) 推荐(0) 编辑
摘要: good css site: https://css-tricks.com/ Gradient Borders https://css-tricks.com/examples/GradientBorder/ 阅读全文
posted @ 2016-05-18 11:26 facial 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 插件地址: http://jquery.malsup.com/cycle/ <div id="propaganda"><div id="pgdImg"><span id="arrow1" ><img src="images/pgd/arrow1.png" /></span><span id="arr 阅读全文
posted @ 2016-05-16 09:33 facial 阅读(174) 评论(0) 推荐(0) 编辑
摘要: box-sizing属性可以为三个值之一:content-box(default),border-box,padding-box。 content-box,border和padding不计算入width之内 padding-box,padding计算入width内 border-box,border 阅读全文
posted @ 2016-05-11 16:32 facial 阅读(107) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML><html> <head> <title>event cancel</title> </head> <body> <a href="https://www.baidu.com/">baidu</a> <div style="width: 400px; height: 3 阅读全文
posted @ 2016-05-10 23:35 facial 阅读(870) 评论(0) 推荐(0) 编辑
摘要: http://www.codeproject.com/Tips/829025/How-to-Create-Custom-Filters-in-AngularJs Introduction Filter in Angular JS is a way that will help you to repr 阅读全文
posted @ 2016-05-09 16:33 facial 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页