admin管理员组

文章数量:1334286

I would like to use the JQuery slider for my mobile application

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.

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)

(Keep in mind the file sizes above is for both gzipped and pressed JS)

I would like to use the JQuery slider for my mobile application

http://docs.jquery./UI/Slider

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.

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)

(Keep in mind the file sizes above is for both gzipped and pressed JS)

Share Improve this question edited Feb 13, 2010 at 6:32 DerickH asked Feb 13, 2010 at 6:27 DerickHDerickH 111 silver badge2 bronze badges
Add a ment  | 

4 Answers 4

Reset to default 2

You may be interested in jQTouch.

jQTouch is a jQuery plugin with native animations, automatic navigation, and themes for mobile WebKit browsers like iPhone, G1, and Pre.

You can also use the jQuery Mobile version of the slider : http://jquerymobile./demos/1.0a4.1/#docs/forms/forms-slider.html

You could also take a look at YUI2 or YUI3 slider modules.

YUI 2 Slider

YUI 3 Slider

here's the latest version of JQM

本文标签: javascriptJQuery Slider for Mobile applicationStack Overflow