Amir
Amir

Reputation: 2267

Is there a stripped down jQuery Mobile that works like jQuery?

I don't like jQuery Mobile for one reason and one reason only: the fact that you have to use their UI (or spend hours to customize it).

The question: is it possible to get a strip down version of jQuery Mobile to work exactly like how jQuery works where you can use any CSS, any HTML and add jQuery functionality to it without using any of their UI. I want to be able to use jQuery Mobile functionality without any of their CSS/HTML. I want to write my own CSS and HTML.

Upvotes: 2

Views: 1036

Answers (2)

Phill Pafford
Phill Pafford

Reputation: 85298

Don't forget jQM offers a Theme Roller as well

So making custom themes should be a little easier

I know in the Release Notes for RC1 they had decoupled jQM and were working on a Download Builder

Download builder: In the works

Now that we’ve decoupled most of the UI widgets, we’ve set the stage for there to be a download builder. This will let you build a custom version of jQuery Mobile to only include the parts you need. For example, you could just use the core files to add Ajax-based navigation with pushState and leverage some of the touch events and other utilities with a very lightweight build (roughly 10k). Or, you could add in specific UI widgets like form elements, listviews, etc. to create an optimized build. We’re aiming to have a download builder tool launch as part of 1.0 final in some form. We’re working on a dependency map now for all the plugins to support this tool.

Not sure if this is release as of yet

Upvotes: 2

Naftali
Naftali

Reputation: 146302

So go for it.

You are not tied to their UI.

It is merely a suggestion.

As long as your IDs and classes match their code everything should work just as well.

Upvotes: 5

Related Questions