Template:Imperial2010/Header

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Current revision (11:15, 24 September 2010) (view source)
 
Line 9: Line 9:
  var path = location.pathname.substring(1);
  var path = location.pathname.substring(1);
  if ( path )
  if ( path )
-
  $('#headover ul li a[href$="' + path + '"]').addClass("curlink");
+
  $('#headover ul li a[href$="' + path + '"]').addClass("curlink").css("color","#ea8828");;
  var vCurlink = $('#headover ul li a[href$="' + path + '"]').attr("id");
  var vCurlink = $('#headover ul li a[href$="' + path + '"]').attr("id");
-
  $('#'+vCurlink+'.listhead').addClass('blank');
+
  $('#'+vCurlink+'.listhead').addClass('curlink').css("color","#444444");
-
$('.curlink').css("color","#ea8828");
+
});
});

Current revision

Personal tools