jQuery mobile on Windows Phone 7 will not render... Fiddle included
On this jQuery blogpost...
We’re thrilled to announce WP7 is now a supported platform and has a solid A- experience...
All that renders is a blank page o开发者_StackOverflow中文版n winmo7... And I have what seems to be the same exact device they use on the photo.
This fiddle is a simple two page layout that works fine on every browser except IE on winmo7.
Here is the fiddle. http://jsfiddle.net/QfVsq/
This works fine on my device (Samsung Focus). Although it takes a while to load.
My suggestion is to make sure you have your IE settings on your phone set to "Mobile" and you'll probably want to make sure your not using too much of the phone's memory(eg Music Player), because if you do it takes a while to load.
I got it working switching my jquery-mobile library from http://code.jquery.com/mobile/1.0a4/jquery.mobile-1.0a4.min.js to http://jquerymobile.com/test/js/ which makes NO SENSE.
It seems as thought the downloadable version is different than the one they use on their demo.
I ran a file diff and confirmed that they are different.
I solved my instance of this by removing data-role="button" from my input submit elements... Odd that making an input element explicitly a button should act differently than implicitly doing so...
精彩评论