Home › Forums › CSS › On load change css/hyperlink › Re: On load change css/hyperlink
August 26, 2012 at 3:00 am
#108473
Participant
Or just put this line of jQuery in that Chris just tweeted:
$("a[href='" + document.location.pathname + "']").addClass("current");
Then just add styles for .current in your CSS.