Skip to Content
Home › Forums › Older releases › 1.0.x › Automatically close sub menus when opening other sub menus › Reply To: Automatically close sub menus when opening other sub menus
Yep, your code looks OK.
Is there a way to keep the accordion functionality, but also auto scroll to the main menu item that was clicked so that no part of the expanded sub menu section gets pushed off screen?
On theory auto scrolling is not a problem (in most cases), but it’s not producing a good user experience either and that’s why it’s not used in similar accordion scripts.
You will be emailed a link to set your password.
Username or Email Address
You will receive emails only on new version releases or really important news. Your email will not be shared with anyone. We hate spam too!