-
Notifications
You must be signed in to change notification settings - Fork 501
CSS Class active #150
Comments
It should add the class to the parent of the anchor. |
but how to do.? when click on submenu the parent should be assigne the class class="sub-active" |
I'm not sure what you mean but you can use the |
check here.. |
What is not working? |
when you click child items of web design.. the parent should be assign a class.. also when you scroll its not assigning the class on parent. its only assigning on the current menu item.. i did use custom callback. but when you are on scrolling mode its not working.. |
yes. only when you open it manually.. i did use some call backs.. but the problem is.. i couldnt capture the scrolling event.. |
You can use the |
if we click on sub page. the class('current') is assigning on that. would be great if it will assign like that
thats what i want. when click sub child the script add another class on parent item. your script is absolutely working fine.. great. easy to customization(if you dont mind). let me know about this.. |
You can do all that with the callbacks |
would you like to help me in that case.. i dont know much about Java.. and i waste lots of hours.. Thank you, |
Sorry I don't have time to help every person with their specific situation |
Hi
how to assign the css active class on child element. and how to be open
i need it like example:
but its just working . that need to be sort out
The text was updated successfully, but these errors were encountered: