Template:Imperial2010/Header

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
  $('#headover ul li a[href$="' + path + '"]').addClass("curlink");
  $('#headover ul li a[href$="' + path + '"]').addClass("curlink");
  var vCurlink = $('#headover ul li a[href$="' + path + '"]').attr("id");
  var vCurlink = $('#headover ul li a[href$="' + path + '"]').attr("id");
-
  $('#'+vCurlink+'.listhead').addClass('curlink');
+
  $('#'+vCurlink+'.listhead').addClass('blank');
  $('.curlink').css("color","#ea8828");
  $('.curlink').css("color","#ea8828");
});
});
Line 20: Line 20:
$('#menu').mouseleave(function() {
$('#menu').mouseleave(function() {
-
  $('.listhead,.listmain').not('.curlink').css("color","#dddddd");
+
  $('.listhead,.listmain').not('.curlink').css("color","#ffffff");
-
  $('#headover ul').fadeOut(500);
+
  $('#headover ul').fadeOut(200);
  $('#headover').stop().animate({height:'50px',top:'100px'},1000);
  $('#headover').stop().animate({height:'50px',top:'100px'},1000);
});
});
$('.listhead').mouseover(function(){
$('.listhead').mouseover(function(){
-
  $('.listhead').not('.curlink').css("color","#dddddd");
+
  $('.listhead').not('.curlink').css("color","#ffffff");
-
  $(this).css("color","#ea8828");
+
  $(this).css("color","#444444");
  $('#headover ul').css("display","none");
  $('#headover ul').css("display","none");
  var vActive = $(this).attr("id");
  var vActive = $(this).attr("id");
-
  $('.'+vActive).stop().fadeIn(500);
+
  $('.'+vActive).stop().fadeIn(200);
});
});
Line 98: Line 98:
     top: 0px;
     top: 0px;
     left: 0px;
     left: 0px;
-
     background-color: #495046}
+
     background-color: #ea8828}
   #headpic {
   #headpic {
Line 148: Line 148:
     text-decoration: none;
     text-decoration: none;
     font-family: helvetica, arial, sans-serif;
     font-family: helvetica, arial, sans-serif;
-
     color: #dddddd;}
+
     color: #ffffff;}
   #headover ul{
   #headover ul{

Revision as of 11:04, 24 September 2010

Personal tools