sgrebnov / jqmobile-wp8-theme

22 stars 10 forks source link

Theme switching not working for multiple option selectmenu list #31

Open dimitrijevic opened 11 years ago

dimitrijevic commented 11 years ago

Hello Mr. Grebnov, Gr8 stuff. One problem. I can't figure it out though. I've got a multiple option selectmenu ... as simple as bellow:

<label for="Services"  class="ui-hidden-accessible " >
               Country:
</label>
<select name="Services" id="Services" data-native-menu="false" data-mini="true" multiple="multiple" size="4">
               <option>Country</option>
               <option value="hotel">Hotel</option>
               <option value="transport">Transport</option>
               <option value="others">Others</option>
</select>

Unfortunately, it's stuck on dark theme, even after switching to light...the only part of it that changes color is the small background box of the close button and that's white...and I'm no good with CSS. I did some quick fixes in JS for making the theme work for a Win8 PhoneGap, mostly because of missing plugin namespace, but that's pretty much trivial. TIA

P.S. Small note, I've just noticed, I used metro's jquery.mobile.themeswitcher.js, because I couldn't figure out how to use jquery.cordova.wp.themeswitcher.js (there's no $.jqueryThemeSwitch method I can call in the browser)...but I copied the dynamically changing theme code from cordova.wp and it seems the same...maybe when I figure out how to load a theme through cordova.wp it'll work but I doubt it (unless there's some more code that I skipped that changes the selectionmenu list css - which might not be used at all - according to the /* Not used */ comment in the theme css file)?

sgrebnov commented 11 years ago

Thank you for letting me know, I'll take a look and let you know what could be the problem.