Home › Forums › JavaScript › Links active in an accordion › Reply To: Links active in an accordion
August 26, 2014 at 6:41 am
#180657
Paulie_D
Member
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.