how do you manually add it when the link is www.somesite.com which i would want it to be added to index.html ?
function setActive() {
/*current page function*/
$('#menu a').each(function(index) {
if(this.href.trim() == window.location)
$(this).addClass("current");
});
this works for any pages that are in the navigation menu.