Forums

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

Home Forums JavaScript Page class based on current menu item Reply To: Page class based on current menu item

#193806
Paulie_D
Member

It’s not clear what you are trying to do.

If you click on li.second you want the body to get the .second class…is that right?

Doable…but why?

http://codepen.io/Paulie-D/pen/mymzxy