上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页
摘要: 1.轮播形式 千奇百怪,常见:透明度、位移 2.代码实现 2.1 透明度 基础代码 html <div class="my-slide"> <ul class="slide-wrapper"> <li> <a href="javascript:"><img src="http://cdn.doweb 阅读全文
posted @ 2019-04-17 18:59 justSmile2 阅读(160) 评论(0) 推荐(0)
摘要: 1. stop 文档 $(selector).stop(stopAll,goToEnd) stopAll 可选。规定是否停止被选元素的所有加入队列的动画。goToEnd 可选。规定是否允许完成当前的动画。该参数只能在设置了 stopAll 参数时使用。 2. 案例代码 <!DOCTYPE html> 阅读全文
posted @ 2019-04-16 19:01 justSmile2 阅读(601) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2019-04-16 17:45 justSmile2 阅读(185) 评论(0) 推荐(0)
摘要: 1. prevObject jquery选择器在遍历的过程中都会找到一组元素(一个jQuery对象),然后jQuery会把这组元素推入到栈中。prevObject属性就指向这个对象栈中的前一个对象,而通过这个属性可以回溯到最初的DOM元素集。利用这个DOM元素栈可以减少重复的查询和遍历的操作,而减少 阅读全文
posted @ 2019-04-16 17:22 justSmile2 阅读(4881) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2019-04-16 16:27 justSmile2 阅读(5) 评论(0) 推荐(0)
摘要: 1. html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>向上滚动</title> <style type="text/css"> * { margin: 0; padding: 0; color: 1 阅读全文
posted @ 2019-04-15 19:39 justSmile2 阅读(114) 评论(0) 推荐(0)
摘要: 1. es5 类写法 function People(name) { this.name = name; } People.prototype.getName = function () { return this.name; }; var people = new People("strick") 阅读全文
posted @ 2019-04-15 17:57 justSmile2 阅读(104) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-04-15 11:22 justSmile2 阅读(16) 评论(0) 推荐(0)
摘要: 前景: 页面部分区域需要移入悬浮效果,当然默认的 title 也是可以的,最多只是格格不入,但是却是最为靠谱的。。 思路: 基于 jq 实例扩展 、使用立即执行函数保持功能独立、 自定义类实现功能封装的定位解释小功能 实现: 1.html <!DOCTYPE html> <html> <head> 阅读全文
posted @ 2019-04-11 19:31 justSmile2 阅读(231) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2019-04-11 18:36 justSmile2 阅读(24) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 36 下一页