Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 29th Nov 2011, 08:55 PM   #1
HyperActive Warrior
 
Join Date: 2010
Posts: 314
Thanks: 61
Thanked 12 Times in 11 Posts
Default
Integrating jQuery mobile into your mobile website
Share on: 
fb share twitter share gplus share more share

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.
lirikh is offline  
Unread 6th Dec 2011, 11:45 AM   #2
HyperActive Warrior
War Room Member
 
JBroyer44's Avatar
 
Join Date: 2010
Location: NH
Posts: 227
Thanks: 26
Thanked 29 Times in 17 Posts
Default
Re: Integrating jQuery mobile into your mobile website
Share on: 
fb share twitter share gplus share more share

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
JBroyer44 is offline  
Closed Thread


Bookmarks

Tags
integrating, jquery, mobile, website


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:48 PM.