如何使用jQuery UI开发Web程序(3)

 时间:2026-04-23 16:06:53

1、访问jQuery UI官方网站Demo页面,如下图所示。

如何使用jQuery UI开发Web程序(3)

2、    本经验学习Widgets(窗口小部件),Widgets are full-featured UI controls that bring the richness of desktop applications to the Web. All widgets provide a solid core with plenty of extension points for customizing behavior, as well as full theming support.(Widgets是全特性UI控件,它们给wWeb应用程序带来了桌面应用程序的丰富性。)

      jQuery UI 窗口小部件由以下部分组成,分别为Accordion、Autocomplete、Button、Datepicker、Dialog、Menu、Progressbar、Selectmenu、Slider、Spinner、Tabs、Tooltip等,如下图所示。

如何使用jQuery UI开发Web程序(3)

3、Widgets第1个为Accordion(手风琴)。Click headers to expand/collapse content that is broken into logical sections, much like tabs. Optionally, toggle sections open/closed on mouseover。如下图所示。

如何使用jQuery UI开发Web程序(3)

如何使用jQuery UI开发Web程序(3)

4、Widgets第2个为Autocomplete(自动完成)。The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are tags for programming languages, give "ja" (for Java or JavaScript) a try.

如何使用jQuery UI开发Web程序(3)

如何使用jQuery UI开发Web程序(3)

5、Widgets第3个为Button(按钮)。Enhances standard form elements like buttons, inputs and anchors to themeable buttons with appropriate hover and active styles.

如何使用jQuery UI开发Web程序(3)

如何使用jQuery UI开发Web程序(3)

6、Widgets第4个为Datepicker(日期控件)。The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

如何使用jQuery UI开发Web程序(3)

如何使用jQuery UI开发Web程序(3)

  • 如何使用jQuery UI开发Web程序(14)
  • Web开发中如何应用Jquery UI
  • 如何使用JQuery
  • jquery weui的使用
  • jquery weui怎么使用,jquery weui的使用
  • 热门搜索
    绿檀手串怎么盘 自我总结怎么写 华帝热水器怎么样 几点了用英语怎么说 美图秀秀怎么去水印 怎么查五行缺什么 西门子冰箱怎么样 离职原因怎么写最合适 辣木籽怎么吃 掉头发怎么回事