jQuery Mobile 1.4.0 发布
jQuery Mobile 是一个针对触摸体验的 web UI 开发框架，允许您开发跨智能电话和平板电脑工作的移动 web 应用程序。jQuery Mobile 框架构建于 jQuery 内核之上，提供几个功能，包括 HTML 和 XML 文档对象模型（DOM）的操控、处理事件、使用 Ajax 执行服务器通信、以及用于 web 页面的动画和图像效果。
jQuery Mobile 的基本特性包括：
- jQuery Mobile 在设计时考虑了访问能力，它拥有 Accessible Rich Internet Applications (WAI-ARIA) 支持，以帮助使用辅助技术的残障人士访问 web 页面。
We are happy to announce the first stable release of jQuery Mobile 1.4. For this new version we focused on performance improvements and reviewing widgets. We also introduced a new default theme and SVG icons. Some of the new features that come with this release are a flipswitch widget, a generic filter widget named “filterable”, popups with arrows, tooltips for sliders and we integrated the tabs widget from jQuery UI.
To improve performance we reduced DOM manipulation. Generation of inner markup for elements styled as butons has been completely removed. In many cases the framework just adds classes to the native element during enhancement and we even reduced the amount of classes that are added by the framework.
New default theme
This was also a good time to switch to a new default theme with a flat, more modern, design. The number of swatches has been reduced from five to two; a light “A” swatch and a dark “B” swatch.
Not only the theme is new. A big thank you to Glyphish for creating a complete new icon set for jQuery Mobile! These are vector-based SVG icons, but we included a fallback to external PNG icons on browsers that don’t support inline SVG. We are also going to provide additional stylesheets, each with different icon CSS (inline SVG, data-uri PNG, and external PNG) that can be used with the full Grunticon solution.
The style and structure of the demos have been changed. The demos are no longer divided in sections, but all content is grouped by component. All demos are now directly accessible via the new, responsive, navigation menu.
We did not only release a new version of the framework, but also launched our new website! The jQuery Mobile site now uses the same WordPress parent theme as the other jQuery projects.
We want to say thanks to everyone who contributed. Thank you Sven Franck for all your hard work on the new filterable widget and the table widget!
- Uncompressed: jquery.mobile-1.4.0.js (useful for debugging)
- Minified and Gzipped: jquery.mobile-1.4.0.min.js (ready to deploy)
- Uncompressed with Default theme: jquery.mobile-1.4.0.css (useful for debugging)
- Minified and Gzipped with Default theme: jquery.mobile-1.4.0.min.css (ready to deploy)
- Uncompressed structure without a theme: jquery.mobile-1.4.0.css (useful for theme development)
- Minified and Gzipped structure without a theme: jquery.mobile-1.4.0.min.css (ready to deploy)
Copy-and-Paste Snippet for CDN-hosted files:
<link rel="stylesheet" href="/misc/goto?guid=4958825916941705935"> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js"></script>
If you want to host the files yourself you can download a zip of all the files.
Supported jQuery versions
jQuery Mobile 1.4 supports jQuery core 1.8 and newer.
Graded Browser Support
See the jQuery Mobile 1.4 Supported Platforms page for the Graded Browser Support of this version.