What is JQuery UI, what is the function

 

 

the UI jQuery  (translation: jQuery UI) are: to jQuery open source JavaScript-based web user interface code base. It contains the underlying user interaction, animation, special effects and can change the theme of visual controls. We can directly use it to build has a very good interactive web applications . All plug-in testing is compatible with IE 6.0+, Firefox 3+, Safari 3.1+ , Opera 9.6+, and Google Chrome.

 

jQuery UI has four functions:

1. interact:

               Interaction is a set of plugins, user interaction elements of the DOM.

               Common interactions are: drag, drop, resize, Alternatively, classification may be sorted.

2, small parts (components)

                Component is a set of jQuery plug-in that allows us to quickly create a date picker, progress bars and other user interface elements.

               Commonly used components are: date picker, menus, buttons, prompt, the slider, the tab (Tabs), block mode and the like.

3. Effect

               Self-contained set of transition effects and custom animation DOM elements.

               Common effects are: hide, display, switching, animation and the like.

4. Utilities

              Utility is a modular tool, used by the jQuery library internally.

             Use: The position of the element can be aligned with other elements of the set (position).

 

 

 

CSS framework API

Layout Helper
.ui-helper-hidden: the elements of the application display: none.
.ui-helper-hidden-accessible: the elements of the application to access the hidden (absolute positioning by page).
.ui-helper-reset: reset basic style UI elements. Reset elements such as: padding, margin, text-decoration , list-style, and the like.
.ui-helper-clearfix: packing floating property on the parent application element.
.ui-helper-zfix: on the <iframe> element application iframe "fix" CSS.

Widget container
.ui-widget: Class applied to the outer container of all widgets. Applications for widgets font and font size, but also on the same application form elements from the font and font size of 1em to address the question of succession in Windows Explorer.
.ui-widget-header: Class title container applications. Text of the element and its children, links, style container application icon title.
.ui-widget-content: Class of application for the contents of the container. Text of the element and its children, links, content container style icon of the application. (Title can be applied to the parent element or similar element)

Interactive state
.ui-state-default: Class of clickable button element applications. Text of the element and its children, links, icon of the application "clickable default" style container.
.ui-state-hover: Class mouse was suspended in the application on the element as a clickable button. Text of the element and its children, links, icon of the application "clickable hover" container style.
.ui-state-focus: when the keyboard is focused on a clickable button element Class application. Text of the element and its children, links, icon of the application "clickable hover" container style.
.ui-state-active: Class of application when mouse clicks can click on the button element. Text of the element and its children, links, icon of the application "clickable active" container style.

Interactive prompt Cues
.ui-State-highlight: Class of application elements highlighted or selected. Text of the element and its children, links, icon of the application "highlight" container style.
.ui-state-error: Class of Error Message container element application. Text of the element and its children, links, icons application "error" container style.
.ui-state-error-text: Class of error text only no background color of the application. Can be used to form the label, you can also use sub-icon error icon color.
.ui-state-disabled: a dim opacity of the UI elements of the application is disabled. It means adding an extra element of style to an already defined style.
.ui-priority-primary: Class button on the application of the first priority. Application bold text.
.ui-priority-secondary: Class button on the application of the second priority. Application of the normal thickness of the text, a slight transparency on the elements of the application.

Icon
status and image
.ui-icon: Basic Class of the icon element of the application. Set size is 16px squares, hidden inside the text, sprite set the background image on the "content" of the state. Note: .ui-icon class will get a different background sprite image in accordance with its parent. For example, ui-icon element within the container ui-state-default will be colored according to color of the icon of ui-state-default.
Icon type
After declaring .ui-icon class, then you can declare a second speed of icon type of class. Under normal circumstances, the icon class follows the syntax .ui-icon- {icon type} - {icon sub description} - {direction}.
For example, a triangular icon pointing to the right, as follows: .ui-icon-triangle-1 -e

Other visuals
radius assistant
.ui-corner-tl: Application radius of the elements of the upper left corner.
.ui-corner-tr: Application of the elements of the upper right corner fillet radius.
.ui-corner-bl: application of fillet radius of the bottom left corner elements.
.ui-corner-br: application of fillet radius of the bottom right corner of the element.
.ui-corner-top: application of fillet radius around the corner of the upper element.
.ui-corner-bottom: Application of the elements below the fillet radius around the corner.
.ui-corner-right: Application of the right upper and lower corners of the radius of the element.
.ui-corner-left: application of fillet radius of the upper and lower left diagonal elements.
.ui-corner-all: all four corners of the application of fillet radius elements.
Cover & shadow
.ui-widget-overlay: overlay screen application 100% of the width and height, and set the background color / texture and opacity of the screen.
.ui-widget-shadow: Class covered on application, the opacity is provided, the offset / left shift, and the shadow of the "thickness." The thickness is applied by the inner sides of all the shadow margins (padding). By providing the offset is applied on the margins (margin) and left margins (margin) (which may be positive or may be negative).

the UI jQuery  (translation: jQuery UI) are: to jQuery open source JavaScript-based web user interface code base. It contains the underlying user interaction, animation, special effects and can change the theme of visual controls. We can directly use it to build has a very good interactive web applications . All plug-in testing is compatible with IE 6.0+, Firefox 3+, Safari 3.1+ , Opera 9.6+, and Google Chrome.

 

jQuery UI has four functions:

1. interact:

               Interaction is a set of plugins, user interaction elements of the DOM.

               Common interactions are: drag, drop, resize, Alternatively, classification may be sorted.

2, small parts (components)

                Component is a set of jQuery plug-in that allows us to quickly create a date picker, progress bars and other user interface elements.

               Commonly used components are: date picker, menus, buttons, prompt, the slider, the tab (Tabs), block mode and the like.

3. Effect

               Self-contained set of transition effects and custom animation DOM elements.

               Common effects are: hide, display, switching, animation and the like.

4. Utilities

              Utility is a modular tool, used by the jQuery library internally.

             Use: The position of the element can be aligned with other elements of the set (position).

 

 

 

CSS framework API

Layout Helper
.ui-helper-hidden: the elements of the application display: none.
.ui-helper-hidden-accessible: the elements of the application to access the hidden (absolute positioning by page).
.ui-helper-reset: reset basic style UI elements. Reset elements such as: padding, margin, text-decoration , list-style, and the like.
.ui-helper-clearfix: packing floating property on the parent application element.
.ui-helper-zfix: on the <iframe> element application iframe "fix" CSS.

Widget container
.ui-widget: Class applied to the outer container of all widgets. Applications for widgets font and font size, but also on the same application form elements from the font and font size of 1em to address the question of succession in Windows Explorer.
.ui-widget-header: Class title container applications. Text of the element and its children, links, style container application icon title.
.ui-widget-content: Class of application for the contents of the container. Text of the element and its children, links, content container style icon of the application. (Title can be applied to the parent element or similar element)

Interactive state
.ui-state-default: Class of clickable button element applications. Text of the element and its children, links, icon of the application "clickable default" style container.
.ui-state-hover: Class mouse was suspended in the application on the element as a clickable button. Text of the element and its children, links, icon of the application "clickable hover" container style.
.ui-state-focus: when the keyboard is focused on a clickable button element Class application. Text of the element and its children, links, icon of the application "clickable hover" container style.
.ui-state-active: Class of application when mouse clicks can click on the button element. Text of the element and its children, links, icon of the application "clickable active" container style.

Interactive prompt Cues
.ui-State-highlight: Class of application elements highlighted or selected. Text of the element and its children, links, icon of the application "highlight" container style.
.ui-state-error: Class of Error Message container element application. Text of the element and its children, links, icons application "error" container style.
.ui-state-error-text: Class of error text only no background color of the application. Can be used to form the label, you can also use sub-icon error icon color.
.ui-state-disabled: a dim opacity of the UI elements of the application is disabled. It means adding an extra element of style to an already defined style.
.ui-priority-primary: Class button on the application of the first priority. Application bold text.
.ui-priority-secondary: Class button on the application of the second priority. Application of the normal thickness of the text, a slight transparency on the elements of the application.

Icon
status and image
.ui-icon: Basic Class of the icon element of the application. Set size is 16px squares, hidden inside the text, sprite set the background image on the "content" of the state. Note: .ui-icon class will get a different background sprite image in accordance with its parent. For example, ui-icon element within the container ui-state-default will be colored according to color of the icon of ui-state-default.
Icon type
After declaring .ui-icon class, then you can declare a second speed of icon type of class. Under normal circumstances, the icon class follows the syntax .ui-icon- {icon type} - {icon sub description} - {direction}.
For example, a triangular icon pointing to the right, as follows: .ui-icon-triangle-1 -e

Other visuals
radius assistant
.ui-corner-tl: Application radius of the elements of the upper left corner.
.ui-corner-tr: Application of the elements of the upper right corner fillet radius.
.ui-corner-bl: application of fillet radius of the bottom left corner elements.
.ui-corner-br: application of fillet radius of the bottom right corner of the element.
.ui-corner-top: application of fillet radius around the corner of the upper element.
.ui-corner-bottom: Application of the elements below the fillet radius around the corner.
.ui-corner-right: Application of the right upper and lower corners of the radius of the element.
.ui-corner-left: application of fillet radius of the upper and lower left diagonal elements.
.ui-corner-all: all four corners of the application of fillet radius elements.
Cover & shadow
.ui-widget-overlay: overlay screen application 100% of the width and height, and set the background color / texture and opacity of the screen.
.ui-widget-shadow: Class covered on application, the opacity is provided, the offset / left shift, and the shadow of the "thickness." The thickness is applied by the inner sides of all the shadow margins (padding). By providing the offset is applied on the margins (margin) and left margins (margin) (which may be positive or may be negative).

Guess you like

Origin www.cnblogs.com/lszw/p/11068353.html