jQuery UI 1.10.4 发布

jopen 10年前

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 1.10.4 发布

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

  • Added: Spport for running on Travis. (13c17eb)
  • Added: Verify characters in output. (#9037, 7396460)

link Core & Utilities

link Widget Factory

  • Fixed: widgetEventPrefix is empty when widget is loaded twice. (#9316, c241313)
  • Fixed: Calling _setOption() with undefined 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 and offsetHeight 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

  • Fixed: aria-expanded attribute on wrong element. (#9407, d21e8a6)

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

  • Fixed: Changing range option to false does not remove range div. (#9355, 8fba171)

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

  • Fixed: Title color not reset in a focused accordion tab. (#9428, 8f7e342)

下载地址:

源码:http://github.com/jquery/jquery-ui/tree/1.10.4