是否可以仅将jQuery Mobile用于“某些"网站?功能? [英] Is it possible use jQuery Mobile only for "some" functions?
问题描述
我仅需要jQuery mobile来实现swipeleft
之类的功能.
I need jQuery mobile only for function like swipeleft
.
实际上,当我加载jQuery Mobile时,它会编辑网站的整个模板.根据ajax请求更改所有链接,以及大量我根本不需要的功能!
In fact, when I load jQuery Mobile, it edit the whole template of the website; changing all links as ajax request, and tons of functionality that I don't need at all!
是否可以在没有默认行为的情况下加载此插件?只是为了使用它的一些功能...
Is it possible to load this plugins without default behavior? Just for using its some functions...
推荐答案
您迫不及待地想问我最后一个问题的答案. ;)
You couldn't wait for me to give you an answer in last question. ;)
简而言之,可以.转到此链接:
To make answer short, yes you can. Go to this link:
http://jquerymobile.com/download-builder/
http://jquerymobile.com/download-builder/1 and build yourself custom jQM library. Only works with jQM 1.1.1 and 1.2. Take only Events -> touch.
这篇关于是否可以仅将jQuery Mobile用于“某些"网站?功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!