jQuery Mobile 1.0.1 Released
The jQuery Mobile team is happy to announce 1.0.1, the first maintenance release for 1.0.0. This release brings a long list of fixes, performance tweaks and small improvements. We will now be focusing on finishing up version 1.1.0 for later next month.
Demos & docs | Key changes | Change log | Download & CDN | Supported Platforms
KEY CHANGES
Now Officially Supported: bada and UC Web
We’re happy to announce that the Samsung bada platform and its built-in Dolphin browser is now officially supported. We’d like to thank Samsung for donating a Wave 3 test phone running bada 2.0 to our lab. When our new bada device arrived jQuery Mobile worked without a hitch and we were pleasantly surprised by the quality of rendering and speed of this platform.
We’ve also started testing on UC Browser on Android and are happy to report that jQuery Mobile works great. UCweb is the most popular mobile web browser in China with a whopping 65% market share so it makes a lot of sense for us to keep this on our testing radar. This is a surprisingly good browser with clean rendering.
Both of these platforms are examples of how our commitment to web standards and feature detection allows the framework to “just work” on an ever-increasing set of platforms and browsers without adding extra code or maintenance. We normally just need to add new devices to our standard testing rotation to ensure that we continue to support them as we move forward.
Test lab & donations
Since 1.0 was released, we’ve continued to grow our test lab. Through generous donations from Nokia (Lumia 800, 701), RIM (new Curve and Torch versions, Playbooks running 2.0), and the bada phone by Samsung mentioned above we’ve been able to keep apace with all the newest devices. Filament Group also picked up a Kindle Fire to round out the bunch. At this point, we have roughly 50 unique phone, tablet and e-readers in our test tab in addition to a full suite of desktop computers running all modern OSs and browsers.
We are currently looking for donations of devices running Android 4.0 (ICS) in both phone and tablet form factors. We don’t have any 4.0 devices in our lab and have been relying on emulators and community testing so please let us know if you can donate to the lab. Note that we need devices that shipped with 4.0, not upgraded devices.
Change log
Close icon of dialog doesn’t work with $.mobile.defaultDialogTransition set to “none” (Issue 3351) – Thanks Josh Dean!
Prevent data-role=”button” from double enhancing buttons or inputs (Issue 3141) – redirect from button() and buttonMarkup() to correct function for element. Thanks Garann and Josh Dean!
Use the first dialog in a document as a page when no pages exist (Issue 3275) – Provides a failsafe if people use data-role=”dialog”
Added moz-prefixed transition for slider handle – Makes slider snap animation work in FF.
get_orientation() and hence getScreenHeight doesn’t work on some devices (issue #2933) – Android and RIM based tablets default orientation differences causes the page height to not be set correctly. Modified the orientationchange plugin to make adjustments to a portrait_map if necessary, so that we can properly decode the window.orientation value whenever get_orientation() is called.
Fix for custom multi select bubble counts – Thanks MauriceG
Toolbar buttons should truncate text to avoid overlap (Issue #3262) – Thanks Garann!
Use $(window).width() and not window.innerWidth for custom selects – also did the same for height
Fieldset with a data-role=”fieldcontain” does not work (Issue #2448) – Tweaked fieldset border rules so field contains work with this element and avoid scope mismatch.
Fix position of searchbar in touchOverflow mode – Thanks MaZderMind!
ARIA/Voiceover support in listviews (Issue #3228) – the markup structure had changed after all. aria-hidden=”true” was wrapping around both the heading and the additional “click to [expand/collapse]” text.
Fixed non reacting generated back buttons with touchOverflowEnabled – z-index tweak did the trick. Thanks Nicolas Bartoli!
allowCrossDomainPages with forms (Issue 2234) – check for external url’s that doesn’t check against the cross domain pages setting
Slider isn’t refreshed properly when value is set to empty string (Issue #3029) – default empty string val to 0 on refresh
Improve list item pruning while filtering – The current pruning mechanism did not work as intended because the variable “change” replaces every instance. Thanks Marcus Lunzenauer!
Fix difference in spacing for inset lists in touchOverflow mode – Thanks MaZderMind!
Fix not-inset-list top position, while keeping inset-lists as they are in touchOverflow mode – Thanks MaZderMind!
Fix for CSS in touch-overflow in lists (Issue #3165) – Thanks MaZderMind!
Change .live() to .delegate() – As live() is being deprecated, this change is necessary. Delegate should also be faster than live, if only marginally. Also, if the move is made to 1.7+ for core, it makes it easy to do a sed /.delegate(/.on(/g to make it compliant with the new event handling.
Radio Buttons & Checkboxes don’t render on WP7.0 (issue #3086) – Windows Phone 7 unable to use find() for an attribute-based selector
Numeric input next to slider not appearing without a page role (Issue 3081) – The degradeInputs plugin not working for pages that do not have data-role=”page”. This behavior prevented range inputs (for slider widgets)
from degrading properly when used in dialogs.
Dynamic Page load sample: In-Memory broken in IE7 (Issue 3185) – Comma fix
Documentation and demo for hidden listview filter content – Thanks jakeboone002
Added step support to sliders (Issue) – Ported logic from jQuery UI’ slider. Thanks jrowny!
Adjusted textarea autogrow logic timing to ensure it’s height is set more reliably
Decoupled collapsible and collapsible set plugins – Now these are separate plugins for more flexibility and the future download builder
Changed $.inArray to indexOf in closestEnabledButton – Speed performance tweak for buttons
Switch to hasClass check to avoid psuedo selector slowdown – Speed performance tweak for nav bars
Optmised png images for both Default and Valencia themes (issue #2560) – thanks @tichou
Download
CDN-Hosted JavaScript:
- Uncompressed: jquery.mobile-1.0.1.js (useful for debugging)
- Minified and Gzipped: jquery.mobile-1.0.1.min.js (24KB, ready to deploy)
CDN-Hosted CSS:
- Uncompressed with Default theme: jquery.mobile-1.0.1.css (useful for debugging)
- Minified and Gzipped with Default theme: jquery.mobile-1.0.1.min.css (7KB, ready to deploy)
- Uncompressed structure without a theme: jquery.mobile-1.0.1.css (useful for theme development)
- Minified and Gzipped structure without a theme: jquery.mobile-1.0.1.min.css (6KB, ready to deploy)
Copy-and-Paste Snippet for CDN-hosted files (recommended):
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" /> <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
ZIP File:
If you want to host the files yourself you can download a zip of all the files:
- Zip File: jquery.mobile-1.0.1.zip (JavaScript, CSS, and images)
Microsoft CDN hosted jQuery Mobile files:
Fork jQuery Mobile on GitHub
https://github.com/jquery/jquery-mobile
Platform support in 1.0.1
jQuery Mobile has broad support for the vast majority of all modern desktop, smartphone, tablet, and e-reader platforms. In addition, feature phones and older browsers are supported because of our progressive enhancement approach. We’re very proud of our commitment to universal accessibility through our broad support for all popular platforms.
We use a 3-level graded platform support system: A (full), B (full minus Ajax), C (basic). The visual fidelity of the experience is highly dependent on the CSS rendering capabilities of the device and platform so not all A grade experience will be pixel-perfect but that’s the nature of the web.
A-grade – Full enhanced experience with Ajax-based animated page transitions.
- Apple iOS 3.2-5.0 – Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3), original iPhone (3.1), iPhone 3 (3.2), 3GS (4.3), 4 (4.3 / 5.0), and 4S (5.0)
- Android 2.1-2.3 – Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5)
- Android 3.1 (Honeycomb) – Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM
- Android 4.0 (ICS) – Since it’s very new, we don’t have a test phone in our lab but early reports are positive. Note: transitions can be poor on upgraded devices
- Windows Phone 7-7.5 – Tested on the HTC Surround (7.0) HTC Trophy (7.5), LG-E900 (7.5), Nokia Lumia 800
- Blackberry 6.0 – Tested on the Torch 9800 and Style 9670
- Blackberry 7 – Tested on BlackBerry® Torch 9810
- Blackberry Playbook (1.0-2.0) – Tested on PlayBook
- Palm WebOS (1.4-2.0) – Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0)
- Palm WebOS 3.0 – Tested on HP TouchPad
- Firebox Mobile (10 Beta) – Tested on Android 2.3 device
- Skyfire 4.1 – Tested on Android 2.3 device
- Opera Mobile 11.5: Tested on Android 2.3
- Meego 1.2 – Tested on Nokia 950 and N9
- Samsung bada 2.0 – Tested on a Samsung Wave 3, Dolphin browser
- UC Browser – Tested on Android 2.3 device
- Kindle 3 and Fire – Tested on the built-in WebKit browser for each
- Nook Color 1.4.1 – Tested on original Nook Color, not Nook Tablet
- Chrome Desktop 11-17 – Tested on OS X 10.6.7 and Windows 7
- Firefox Desktop 4-9 – Tested on OS X 10.6.7 and Windows 7
- Internet Explorer 7-9 – Tested on Windows XP, Vista and 7
- Opera Desktop 10-11 – Tested on OS X 10.6.7 and Windows 7
B-grade – Enhanced experience except without Ajax navigation features.
- Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770
- Opera Mini (5.0-6.5) – Tested on iOS 3.2/4.3 and Android 2.3
- Nokia Symbian^3 – Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1)
C-grade – Basic, non-enhanced HTML experience that is still functional
- Blackberry 4.x – Tested on the Curve 8330
- Windows Mobile – Tested on the HTC Leo (WinMo 5.2)
- All older smartphone platforms and featurephones – Any device that doesn’t support media queries will receive the basic, C grade experience
Thanks guys, that’s an awesome list of fixes.
I love the interface and want to use the elements on a regular web page – can’t get ANYTHING to work … regular jquery is fine… mobile – nothing works as advertized (firsfox) what gives?
Which version will support for jquery mobile jquery v 1.6.4 or jquery v 1.7.1?
Testing now. Animation slide in iOS5 seems smoother and less jumpy already. Great work fellaz. I buy you a virtual round of drinks !!! Cheers !!
grab one for me also 🙂
ball so hard
Thanks krab
The Docs & Demos link links to http://jquerymobile.com/demos/1.0rc3/ (1.0rc3) but should be http://jquerymobile.com/demos/1.0.1
Android ICS has still poor transitions performance.
Will the NuGet package be updated soon?
Thanks for all the effort you guys put in this project!
(The ‘Demos & Docs’ link at the top still refers to 1.0rc3)
Fixed, thanks!
Great job, thanks to all for the hard work!
Thanks guys, awesome work.
I have a theme created by the theme roller (based on version 1.0 css). can I use it for version 1.1 (just replacing the stucture css) or must I redo the css with the theme roller?
I wish we could configure the persistent headers so that desktop browsers couldn’t tap to hide!
thanks for the hard work, hope you can fix this issue.
http://www.youtube.com/watch?v=aHKozRk29b0
im still having the same flash/blink problem on android 2.3.5 Galaxy Captivate
This css fixed the flicker for me
/*** patch for jquerymobile page flicker ***/
.ui-page {
-webkit-backface-visibility: hidden;
}
Yes, same story for me on iOS 5.0.1. Thanks for this tweak, Ranyodh!
Thanks a lot man, it worked 😉
eh.
android 2.3.
the words are very small when i use jq mobile 1.0.1.
but it is fine when i use 1.0a4.1.
why?
My website have a problem like this picture. http://mu-navi.jp/1.jpg http://mu-navi.jp/2.jpg . it happen at ios5 only. can anyone help me?
Great work!
Do you know what I can do, for that problem:
If a user click on a input text field the round corners are overwritten with the normal ones. (Android)
Thx a lot
Hello. Where i can find a russian translation for this plugin? Or i can do it ,ysel but i do’nt know how.
bests, http://www.iflexion.com/
Hello! On Bada platform, the browser is called Dolfin, not DolpHin 😉
I tested it on my phone! But i don’t understand why it make my phone is crash:(. I must reset my phone again to fix it. Although i am so thank for this….
All transitions seem to be broken on Android. At least all slide transitions don’t work, instead it just “fades in” the new page.
Also silentScroll() causes a lot of blank space at the top of the page.
Finally, the “fixed header” doesn’t work at all. The header scrolls with the page, just as it always has. Hopefully these are fixed before full release. Seems like Android is a second-class citizen in the JQM world unfortunately.
How to test the performance with some tool, such as TaskSpeed? http://dante.dojotoolkit.org/taskspeed/
I would like to test the speed with TaskSpeed to compare the different JS lib including Jquery mobile. Is there any code suggestions for me to do it?
I need a good jQuery trainer. Please contact me on my website http://www.tbldevelopmentfirm.com
I need jQuery Developmentd & a trainer. Please contact me on my website http://www.tbldevelopmentfirm.com
Nokia Symbian get browser closed