$(function(){ // this will get the full URL at the address bar var url = window.location.href; // passes on every "a" tag $("#subpages-widget-2 a").each(function() { // checks if its the same on the address bar if(url == (this.href)) { $(this).closest("li").addClass("active"); } }); });

Space118

Workshop in August

Watercolor Workshop by Manita Singh | 27th and 28th August, 2016 (Saturday & Sunday) | 11 am - 4 pm (Both Days)

Workshop in September

Drawing Workshop by Rajendra Patil | 3rd and 4th September, 2016 (Saturday & Sunday) | 11 am - 5 pm (Both Days)

WordPress Lightbox