Description
The .show() method shows all hidden, selected elements.
This method changes the element's height, width, margin, padding and opacity from hidden to visible
Note: This effect works on elements hidden with jQuery (like fadeOut(), hide(), toggle(), etc.), and display:none in CSS (but not visibility:hidden)
v1.0
This method has the form:
.show()
Return Value
This form returns a jQuery object.
v1.0
This method has the alternate form:
.show(speed,callback)
Parameter | Description |
---|---|
speed | Specifies the speed of the show effect. (default = "0"). Possible values:
|
callback | (optional) A function to be executed after the show() method is completed. |
Return Value
This form returns a jQuery object.
v1.4.3
This method has the form:
.show(speed,easing,callback)
Parameter | Description |
---|---|
speed | (optional) Specifies the speed of the show effect. (default = "0"). Possible values:
|
easing | (optional) A string indicating which easing function to use for the transition. |
callback | (optional) A function to be executed after the show() method is completed. |
Return Value
This form returns a jQuery object.