Creating a vertical accordion menu using Panel controls
This example demonstrates sliding animation with Panel
controls. We will create a vertical accordion menu that allows only one main menu item to be expanded at a time. The constructs used in this example are as follows:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects an element using its ID. |
|
jQuery selector |
This matches all elements with the specified CSS class. |
|
jQuery object |
This refers to the current jQuery object. |
|
jQuery event |
This is fired when you click on an element. It corresponds to the JavaScript click event. |
|
jQuery method |
This stops an event from bubbling up the DOM tree. |
|
jQuery method |
This finds all elements that match the filter. |
|
jQuery method |
This hides the matched elements. |
|
jQuery method |
This returns a Boolean value if the matched element satisfies a given condition. |
|
jQuery... |