Integrating jQuery mobile into your mobile website

by lirikh
1 replies
Hey, so I'm at the phase where I want to include advanced features to my mobile websites.

One thing I would like to include are the collapsible blocks, so I researched and found jQuery mobile.

However, when I added the collapsible data role, the whole CSS of my page changes. Is there any way to integrate jQuery mobile without altering the current CSS properties?

Thanks.
#integrating #jquery #mobile #website
  • Profile picture of the author JBroyer44
    when you call the js and the jqm style sheet on your page it is going to overwrite your stock stylesheet.

    but the jquery mobile features will only be called when you call them.

    I build my whole site inside JQM to be honest so I have not tried to implement it on just certain features.

    however I can add an inline stylesheet to the pages header after the JQM calls and those styles work, not ideal but might be a hack for you.
    Signature

    "The force is strong with this one"
    Facebook Ad Services: http://sellabletraffic.com

    {{ DiscussionBoard.errors[5185703].message }}

Trending Topics