CSS
-
Object jQuery.cssHooks
Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties.
-
Integer .outerWidth( Boolean includeMargin )
Get the current computed width for the first element in the set of matched elements, including padding and border.
-
Integer .outerHeight( Boolean includeMargin )
Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements.
-
Integer .innerWidth( )
Get the current computed width for the first element in the set of matched elements, including padding but not border.
-
Integer .innerHeight( )
Get the current computed height for the first element in the set of matched elements, including padding but not border.
-
jQuery .width( Function function(index, width) )
Set the CSS width of each element in the set of matched elements.
-
jQuery .height( Function function(index, height) )
Set the CSS height of every matched element.
-
jQuery .scrollLeft( Number value )
Set the current horizontal position of the scroll bar for each of the set of matched elements.
-
jQuery .scrollTop( Number value )
Set the current vertical position of the scroll bar for each of the set of matched elements.
-
Object .position( )
Get the current coordinates of the first element in the set of matched elements, relative to the offset parent.
-
jQuery .offset( Function function(index, coords) )
Set the current coordinates of every element in the set of matched elements, relative to the document.
-
jQuery .css( Map map )
Set one or more CSS properties for the set of matched elements.
-
jQuery .toggleClass( Function function(index, class, switch), Boolean switch )
Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument.
-
jQuery .removeClass( Function function(index, class) )
Remove a single class, multiple classes, or all classes from each element in the set of matched elements.
-
Boolean .hasClass( String className )
Determine whether any of the matched elements are assigned the given class.
-
jQuery .addClass( Function function(index, currentClass) )
Adds the specified class(es) to each of the set of matched elements.