The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Links active in an accordion Reply To: Links active in an accordion


Hmmm. Do you really want the ‘menu’ open when you’re on the sub-page?

That doesn’t sound right to me but I suppose it might work in vertical menu in a sidebar.

You could have to select the item with a class of ‘current-page’ find the parent li of the li a in question and then expand it.