Skip to main content

Timeline for Set menu item class into body

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Oct 10, 2013 at 10:42 answer added dipali timeline score: 0
Oct 10, 2013 at 8:07 answer added Imperative Ideas timeline score: 0
Oct 10, 2013 at 7:53 comment added Chameron Ex: I want change background base on menu items. So i need to add class of menu item to body. I do not want to use javascript, i want to do it with PHP
Oct 10, 2013 at 7:32 comment added Imperative Ideas You can identify the current menu item by doing a .hasClass('current-menu-item') in jQuery... but what are you trying to do with it? I'm not clear.
Oct 10, 2013 at 7:16 history asked Chameron CC BY-SA 3.0