Search code examples
javascriptjquerycssjquery-mobileweb-frameworks

Use part jQuery mobile only


I would like to use widgets from jQuery Mobile - buttons, drop down list, etc.

I already have a site that has been developed without the use of jQuery mobile, which has its own menus and links - and when I try to add jQuery mobile framework to it, it causes all sorts of problems (overrides CSS, tries to hijack page transitions, etc).

Is it possible to disable some features of the framework?

This is related to the question: Removing unused jQuery Mobile elements? - but it deals with minimizing the script size. I only want to disable certain functinality, so it doesnt interfere with the rest of my app.

Update: Part of the problem caused by using jQuery Mobile "as is" stems from the fact that it will attempt to load all links via ajax. It can be mitigated by adding

rel="external"
to links, so jQM won't attempt to load it via ajax.


Solution

  • There is a builder for JQM coming soon. As of 5/4/2012 its still in beta. Hang in there and the feature will be available any time now. I will try to update this answer when its released.

    Update here is a link to the JQM builder http://jquerymobile.com/download-builder/