Newbie_小白
没有都对的别人,也没有全错的自己,至少要有自己的坚持,无关他人、无关外物!
摘要: 字体 操作系统 Family Name 宋体 (中易宋体) Windows SimSun 黑体 (中易黑体) Windows SimHei 微软雅黑 Windows Microsoft YaHei 微软正黑 Windows Microsoft JhengHei 华文黑体 Mac/iOS STHeit 阅读全文
posted @ 2017-06-14 17:55 Newbie_小白 阅读(984) 评论(0) 推荐(0)
摘要: 最近的一个项目中使用到了swipe.js这个插件 感觉非常的好用的 官方网站 http://swipejs.com/ https://github.com/bradbirdsall/Swipe 简介 swipe.js是一个轻量级的移动滑动组件,支持触摸移动,支持响应式页面。 下面是从GitHub上翻 阅读全文
posted @ 2017-06-14 16:57 Newbie_小白 阅读(2445) 评论(0) 推荐(0)
摘要: //获取滚动高度 function getScrollTop() { var scrollTop=0; if(document.documentElement&&document.documentElement.scrollTop) { scrollTop=document.documentElement.scrollTop; } else... 阅读全文
posted @ 2017-06-14 16:27 Newbie_小白 阅读(139) 评论(0) 推荐(0)
摘要: Swiper demo Menu slide ... 阅读全文
posted @ 2017-06-14 14:49 Newbie_小白 阅读(808) 评论(0) 推荐(0)
摘要: 1、e.stopPropagation()阻止事件冒泡 2、e.preventDefault()阻止事件默认行为。 3、return false等效于同时调用e.preventDefault()和e.stopPropagation() 阅读全文
posted @ 2017-06-14 14:20 Newbie_小白 阅读(400) 评论(0) 推荐(0)
摘要: Swiper是一款开源、免费、强大的移动端触摸滑动插件。 http://www.swiper.com.cn/api/basic/2015/0327/263.html 一、名词解释 二、基本结构 三、初始化 四、常用参数 滑动参数 我们来看看所有可用参数的列表: 设置此参数将使Swiper无响应 设置 阅读全文
posted @ 2017-06-14 10:59 Newbie_小白 阅读(2163) 评论(0) 推荐(0)