随笔分类 -  插件推荐

摘要:下面的这个代码是网络上的代码,做一个分析记录,原网址如下 http://www.jq22.com/jquery-info3836 html: css: js: 阅读全文
posted @ 2017-12-21 12:00 ghfjj 阅读(872) 评论(0) 推荐(0)
摘要:缩放: iScroll-5 http://lab.cubiq.org/iscroll5/demos/zoom/ http://wiki.jikexueyuan.com/project/iscroll-5/zoom.html 剪切(例如头像): photoClip: http://www.jq22.c 阅读全文
posted @ 2017-12-14 13:34 ghfjj 阅读(233) 评论(0) 推荐(0)
摘要:<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-59effacb0a4e93a8"></script> addthis 阅读全文
posted @ 2017-12-12 11:25 ghfjj 阅读(549) 评论(0) 推荐(0)
摘要:var mySwiper = new Swiper('.swiper-container',{ slidesPerView :'auto', autoplay:5000, direction:'vertical', grabCursor:true, autoplayDisableOnInteraction:false, mousewheelContro... 阅读全文
posted @ 2017-12-08 09:40 ghfjj 阅读(15826) 评论(0) 推荐(1)
摘要:1:创建一个项目文件夹: 2:在这个文件夹的路径下cmd, 运行如下命令 cnpm install gulp -g cnpm install gulp --save-dev cnpm install postcss autoprefixer cssnext precss --save-dev var 阅读全文
posted @ 2017-11-07 11:06 ghfjj 阅读(362) 评论(0) 推荐(0)
摘要:function setDate(){ var minYear = 1900 var maxYear = (new Date).getFullYear(); var yearSel = $('#year'); var monthSel =$('#month'); var daySel = $('#days'); console.log(maxYea... 阅读全文
posted @ 2017-10-25 02:04 ghfjj 阅读(615) 评论(0) 推荐(0)
摘要:乔迁 结婚 生日 祝寿 ... 阅读全文
posted @ 2017-10-25 01:03 ghfjj 阅读(667) 评论(0) 推荐(0)
摘要:方式1:全部js、css等文件打包成一个主js: 只有一个主入口js文件(比如main.js),其余的js均在main.js中调用,最后webpack将该主js文件(main.js)打包成一个js(比如bundle.js),html只需引入这最后打包生成的bundle.js即可 html引入及效果 阅读全文
posted @ 2017-06-29 11:37 ghfjj 阅读(143) 评论(0) 推荐(0)
摘要:自定义区间: 'itemsCustom':[[0,2],[ 400,3 ],[ 700,3 ],[ 1200,4 ],[ 1551,5 ],[ 1831,6 ]] 大于1831显示6个, 1551-1830,显示5个, 1200-1550,显示4个, 。。。。。。以此类推 阅读全文
posted @ 2017-06-28 17:07 ghfjj 阅读(2249) 评论(0) 推荐(0)
摘要:Fullpage的示例,实现自定义底部高度的方法,而且是不算在滑动的Section里面,在需 要自定义高度的DIV里面,只需要给Section添加.fp-height-auto类就可以实现自定义高度。 http://blog.csdn.net/dengboblog/article/details/5 阅读全文
posted @ 2017-06-23 17:52 ghfjj 阅读(1767) 评论(0) 推荐(0)
摘要:推荐3个滚动 动画库Scrollanim – CSS3 + JavaScript滚动动画库http://www.dowebok.com/217.html scrollReveal.js – 页面滚动显示动画JShttp://www.dowebok.com/134.html WOW.js – 让页面滚 阅读全文
posted @ 2017-06-15 09:19 ghfjj 阅读(302) 评论(0) 推荐(0)
摘要:注释:npm命令大全http://www.cnblogs.com/PeunZhang/p/5553574.html#npm-install 由于npm在国内下载的时候是很慢的,所以这里推荐一个替代npm的淘宝镜像cnpm.之后npm安装请使用cnpm! npm install -g cnpm --r 阅读全文
posted @ 2017-06-09 18:03 ghfjj 阅读(167) 评论(0) 推荐(0)
摘要:阿里图标的链接 http://iconfont.cn/plus/search/index?q=paly ps*要登录使用的 第一步:选择一个图标,加入购物车 第二部:点击个人购物车管理吗,添加至你的项目 3、拷贝代码,并应用 4、实例展示 阅读全文
posted @ 2017-05-26 10:55 ghfjj 阅读(256) 评论(0) 推荐(0)
摘要:<script type="text/javascript" src="Scripts/DD_roundies_min.js"></script><script type="text/javascript">DD_roundies.addRule('.img', '10px', true);</sc 阅读全文
posted @ 2017-05-23 10:20 ghfjj 阅读(405) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/chenguiya/p/4039192.html jq用1.7.2的版本 阅读全文
posted @ 2017-05-18 10:34 ghfjj 阅读(499) 评论(0) 推荐(0)
摘要:<p><a href="baidumap://map/direction?mode=[transit:公交,driving:驾车]&origin=纬度,经度&destination=纬度,经度®ion=城市代码" class="map">查看地图公交/驾车去这里</a></p>调用了app <p>< 阅读全文
posted @ 2017-05-17 11:07 ghfjj 阅读(19589) 评论(2) 推荐(0)
摘要:HTML5页面直接调用百度地图API,获取当前位置,直接导航目的地 我是应用在微信中,自定义菜单,菜单直接链接到这个HTML5页面,获取当前位置后,页面中定好目的地,这样打开页面后直接进入导航页面 可以省下先发送位置信息后,点确定再出导航,省一步, 阅读全文
posted @ 2017-05-17 10:51 ghfjj 阅读(5175) 评论(0) 推荐(0)
摘要:fancybox.js 改弹出层插件可以弹出iframe的效果 http://www.nanbeiyi.com/ 底部的人事查询 http://www.nanbeiyi.com/rscx/index_32.aspx <link rel="stylesheet" href="scripts/fancy 阅读全文
posted @ 2017-05-16 11:59 ghfjj 阅读(219) 评论(0) 推荐(0)
摘要:http://www.jq22.com/jquery-info10555 api:http://foundation-datepicker.peterbeno.com/example.html bug解决: 阅读全文
posted @ 2017-04-19 12:37 ghfjj 阅读(4404) 评论(0) 推荐(0)
摘要:http://www.jq22.com/jquery-info8054 依赖jq 阅读全文
posted @ 2017-04-19 12:33 ghfjj 阅读(5094) 评论(0) 推荐(0)