随笔分类 - jQuery
1
摘要:首先需要引入jQuery哈! 1. 后台返回的数据: 2. javaScrip: 3. 生成出的HTML代码:
阅读全文
摘要:demo: http://output.jsbin.com/davixatona demo: http://output.jsbin.com/davixatona
阅读全文
摘要:SlidesJS 3.0.4 http://slidesjs.com 在手机上遇到的一些问题及解决办法 1.手机上打开有sliderjs的页面后, 切换到别的页面再回来时, sliderjs部分不能滑动了2.手机上打开有sliderjs的页面后, 在sliderjs部分不断的进行上下滑动时, 会出现
阅读全文
摘要:目的: 手机webview中, js ajax请求, success后, 进行window.open 操作 问题: 在Android, IOS均不能执行window.open 解决办法: 设置ajax的async: false后, 问题解决了. 原因: webview在异步时, 阻止了弹出
阅读全文
摘要:问题描述:https://github.com/zenorocha/clipboard.js/wiki/Known-IssuesOn IE9-11 there's a prompt that asks if the user wants to allow access to his/her clip
阅读全文
摘要:ios prevent dblclick(tap) page scrollhtml add:("minimal-ui" is very important) eg: 以lightbox_me.js举例说明
阅读全文
摘要:$doc.on('mousewheel DOMMouseScroll',function(){ $htmlBody.stop(true); $goTop.stop(true); });
阅读全文
摘要:功能很强大:灯箱, 画廊, 放大图片, 弹出Youtube GoogleMap, ajax读取popup等等文档:http://dimsemenov.com/plugins/magnific-popup/documentation.htmlExamples:http://dimsemenov.com
阅读全文
摘要:jQuery SlidesJS - Can't restart animation after clicking on navigation or pagination 在线DEMO: http://jsbin.com/cujeqekate
阅读全文
摘要:两个js都可以用做手机的滑动框架iscroll.js功能更多flipsnap.js应该只能水平滑动. iscroll.js介绍http://iiunknown.gitbooks.io/iscroll-5-api-cn/content/versions.html flipsnap.js介绍http:/
阅读全文
摘要:项目地址: https://github.com/buckwilson/Lightbox_me用法:http://buckwilson.me/lightboxme/
阅读全文
摘要:原文: http://jquery-howto.blogspot.jp/2009/09/get-url-parameters-values-with-jquery.html In this post, I would like to share a little jQuery code snippe
阅读全文
摘要:下面的文章可能出自一位奥地利的作者, 列出很多jQuery的插件.类似的网站:http://jquerylist.com/原文地址: http://www.kollermedia.at/archive/2007/11/21/the-ultimate-jquery-plugin-list/ jQuer
阅读全文
摘要:http://stackoverflow.com/questions/832860/
阅读全文
摘要:一个非常简单实用的jQuery插件 可以用在页面的顶部广告展示 http://slidesjs.com/ 一个需要注意的问题, 就是在手机等客户端(IOS8以上), 使用此插件时, 经常会触发插件的resize事件, 如窗口固定, 可以解绑处理.
阅读全文
摘要:在线DEMO: http://output.jsbin.com/biyibukuvo
阅读全文
摘要:Query 在线地址:https://developers.google.com/speed/libraries/devguide?hl=zh-CN#jquery此地址里还包含了很多的JS框架.
阅读全文
摘要:要求:1. 页面分三部, head, content, foot, 另外有浮动的滑块2. 当前窗口处在content时, 滑块固定在最底部3. 当滚动条滑到foot出现时, 滑块固定在content的最底部4. 当滚动条往上滑动, 滑至head+滑块的高度时, 滑块固定在content的顶部 在线D
阅读全文
摘要:这是一个用jQuery实现的, 自动调整textarea高度, 非常的好!但原作者已经把它的相关描述页面移除了, 这里做个备份吧~但js路径还在:full: http://james.padolsey.com/demos/plugins/jQuery/autoresize.jquery.jsmini
阅读全文
摘要:在线DEMO: http://output.jsbin.com/mogufewodu
阅读全文
1

浙公网安备 33010602011771号