www.webdeveloper.com
Results 1 to 2 of 2

Thread: jQuery Mobile - How to set a global override for a default theme?

  1. #1
    Join Date
    Apr 2011
    Location
    Seattle, WA
    Posts
    265

    Exclamation jQuery Mobile - How to set a global override for a default theme?

    Ok, I'm getting some inheritance problems with the theme I'm trying to use for one of my projects and it's causing me a lot of frustration.

    I have theme "c" set everywhere, including the document body, the "page" div, the header/content/footer divs, and now it's still going to make me do it for listview and list-dividers too, so I want to just override absolutely everything and make all page elements automatically data-theme="c" unless otherwise specified.

    Is there some way to do this? Preferably a small-and-simple sort of way in which I only have to input it once, like a quick script in the "head" of the page with a variable of "defaultTheme" or something that will just repeat throughout everything that needs to be changed. -- That would be awesome.

    Any suggestions?
    (Thanks in advance!)

  2. #2
    Join Date
    Jul 2008
    Location
    urbana, il
    Posts
    2,787

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles