jQuery UI 1.10.4 發布
jQuery UI 是以 jQuery 為基礎的開源 JavaScript 網頁用戶界面代碼庫。 包含底層用戶交互、動畫、特效和可更換主題的可視控件,我們可以直接用它來構建具有很好交互性的web應用程序。所有插件測試能兼容
IE 6.0+, Firefox 3+, Safari 3.1+, Opera 9.6+, 和 Google Chrome。目前最新的版本,使用
jQuery UI 前,需了解 jQuery 核心庫使用方法和 HTML、CSS、JavaScript 基礎知識,當然你應該有一定的
jquery 基礎了,你可以去看看本站的 jquery 教程。
jQuery UI 踐行漸進增強原則,通過標準 HTML 代碼保證禁用 JavaScript 環境或移動設備的內容可訪問性。利用 JavaScript 代碼增強主流瀏覽器中交互特性,并兼容 WAI-ARIA 標準。各組件“綜述”頁會提供實例化各組件所需的標準 HTML 結構。
jquery ui主要包含三部分:
1.交互組件,主要包含Draggable,Droppable(拖拽組件),Resizable(可調整大小組件),Selectable(選擇組件)和Sortable(排序組件)等。這些都是要與鼠標打交道的,所以屬于交互組件。
2.微件,微件是組成頁面的一個個小組件包括Accordion,AutoComplete,ColorPicker,Dialog,Slider,Tabs,DatePicker,Magnifier,ProgressBar,Spinner等。
3.效果庫,jquery ui 的效果庫提供了更加炫酷的效果,是你的動畫效果與眾不同更加驚艷,效果庫在effect目錄。
jQuery UI 1.10.4 發布了,修復了 Widget Factory, Position, Droppable, Resizable, Accordion, Autocomplete, Button, Datepicker, Dialog, Menu, Slider, Spinner, Tabs, and the CSS Framework 相關 bug,完整內容請看:
Build
link Core & Utilities
link Widget Factory
- Fixed:
widgetEventPrefix
is empty when widget is loaded twice. (#9316, c241313) - Fixed: Calling
_setOption()
withundefined
as 3rd argument should act as a setter. (#9601, 6cdebe8)
link Position
- Fixed: Positioning within a document throws an error. (#9533, c8b2640)
- Fixed:
$.position.scrollbarWidth
detection causes layout issues. (#9291, edf36f3)
link Interactions
link Droppable
- Fixed:
offsetWidth
andoffsetHeight
are queried unnecessarily causing synchronous reflow. (#9339, 0ab1e16)
link Resizable
- Fixed: Erratic behavior of contained elements within scrollable grandparents. (#9307, 1660c76)
- Fixed: Element can incorrectly move when grid option is set. (#9611, 20b44cc)
- Fixed: Off-by-one pixel dimensions with helper and grid. (#9547, e29e5b5)
link Widgets
link Accordion
link Autocomplete
- Fixed: Multiple instances should be able to start asynchronous requests simultaneously. (#9334, e4a194c)
link Button
- Fixed: Radio button & checkboxes ignore mouseclicks for minor mouse movements. (#7665, 52e0f76)
- Fixed: Disabled button maintains
ui-state-focus
in IE & Firefox on Windows. (#9169, 6e48da0)
link Datepicker
- Fixed: Removed "<" in the "Anterior" text for the pt locale. (ea72dea)
- Fixed: Incorrect capitalization for French and Spanish. (#9289, 511bd98, 7bbe9dc)
- Fixed: Incorrect values in Latvian localization. (#9656, 1da91cd)
- Fixed: Correct the Finnish date format. (#9609, ce0cef9)
- Fixed: Wrong dateformat for Icelandic datepicker locale. (#9431, 94be965)
- Fixed: Incorrect settings for Lithuanian locale. (#9281, d8e166b)
link Dialog
- Fixed: Closes on enter in textbox in IE. (#9312, 2623836)
- Fixed: Resizable dialogs move/resize out of viewpoint boundry. (#9521, b6f8ad6)
- Fixed: Resizing causes close icon to misalign in Firefox. (#9133, fd80c34)
- Fixed: Dialog throw error in IE9 with iframe. (#8443, 29e8077)
- Fixed: Window blurs in IE9. (#9420, 29e8077)
link Menu
- Fixed: Error with programmatic focus. (#9384, 9b39852)
- Fixed: Autofocus issue with dialog opened from menu widget. (#9044, 78c593b)
- Fixed:
menuselect
is not always fired. (#9469, b02a32f) - Fixed: Refreshing should recheck for menu icons. (#9377, db1ee1a)
link Slider
link Spinner
- Fixed: Forced field validation in Firefox before field loses focus or form is submitted. (#9573, b846bea)
link Tabs
- Fixed: Refresh issue when tabs are moved to bottom. (#9584, 8eefd20)
- Fixed: Incorrect remote tab detection in IE7. (#9317, 39ff5b3)
link CSS Framework
下載地址:
Development Bundle: http://jqueryui.com/resources/download/jquery-ui-1.10.4.zip
Themes Package: http://jqueryui.com/resources/download/jquery-ui-themes-1.10.4.zip
源碼:http://github.com/jquery/jquery-ui/tree/1.10.4