29th Nov 2011, 08:55 PM | #1 |
HyperActive Warrior Join Date: 2010
Posts: 314
Thanks: 61
Thanked 12 Times in 11 Posts
|
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. |
6th Dec 2011, 11:45 AM | #2 |
HyperActive Warrior War Room Member Join Date: 2010 Location: NH
Posts: 227
Thanks: 26
Thanked 29 Times in 17 Posts
|
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. |
"The force is strong with this one" Facebook Ad Services: http://sellabletraffic.com | |
Bookmarks |
Tags |
integrating, jquery, mobile, website |
| |