Комментарии:
Thanks a lot ❤
ОтветитьOK. How to do that from dropdown sub menu item?
ОтветитьIt is works thank you from Azerbayjan
ОтветитьHey Thanks a lot it works just great !
ОтветитьThankyou so much!
ОтветитьThanks man..it worked...But I only needed window.location.pathname to get the path
ОтветитьVery easy to learn.. thanks a lot! I search this for all the morning! Thanks thanks!
ОтветитьThank you so much !
Ответитьwhy would you turn your javascript off? I'm just wondering. For testing or something?
Ответитьmany thanks , I have tired to reach to this solution :3
ОтветитьI prefer to do it with PHP but is an interesting way of doing it. Thanks!!
ОтветитьThank you for this awesome tutorial...you helped me a lot..thank you!
Ответитьthank you so much, i have bugged for so long time on this probleme
ОтветитьThat absolutely works but what if About item in the menu has submenu and we want About item highlighted if any of the submenu is active.
ОтветитьDoes this method works for .html files or just .php? Mine is .html and it is not working.
ОтветитьThank you so much!! code work perfectly.
ОтветитьBought Rob's Complete web developer course with your coupon, it looks very interested so far!
ОтветитьThis is was a helpful tutorial, but i agree with you on the part that all this should be done at the server side only.
Or maybe that's just me, i'm more of a server side guy, i've just started the front-end part (bootstrap + jQuery). I hope it doesn't take long before i can call myself a complete web dev.
And as always, thank you. I look forward to your tutorials every week.