适用于移动应用程序的JQuery Slider [英] JQuery Slider for Mobile application
问题描述
我想在移动应用程序中使用JQuery滑块
I would like to use the JQuery slider for my mobile application
http://docs.jquery.com/UI/Slider
但是,使用Slider插件需要我使用整个JQuery核心(29kb)+ Slider插件(6kb).
However, using the Slider plugin, requires me to use the entire JQuery core (29kb) + Slider plugin (6kb).
通常,这没关系,但对于移动应用程序来说,这是很多数据.
Typically, that's okay but for a mobile application - that's a lot of data.
问题:无论如何,我可以使用JQuery Slider并消除核心中可能存在的任何膨胀?我真的很想将这个29kb的内核减少到更小一些. (例如,仅使用Sizzle +插件或类似的插件)
Question: Anyway I can use the JQuery Slider and eliminate any bloat that might exist in the core? I would really like to reduce this 29kb core down to something much smaller. (e.g. just using Sizzle + plugin or something like that if that worked)
(请注意,以上文件大小适用于压缩和压缩的JS)
(Keep in mind the file sizes above is for both gzipped and compressed JS)
推荐答案
You can also use the jQuery Mobile version of the slider : http://jquerymobile.com/demos/1.0a4.1/#docs/forms/forms-slider.html
这篇关于适用于移动应用程序的JQuery Slider的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!