Im having trouble getting this to work, I feel like Im really close. Does anyone have any idea?
var path = location.pathname.substring(1); if ([EMAIL PROTECTED] == path]) { $('.nav ul#example li.addClass('active')); }
Im having trouble getting this to work, I feel like Im really close. Does anyone have any idea?
var path = location.pathname.substring(1); if ([EMAIL PROTECTED] == path]) { $('.nav ul#example li.addClass('active')); }