Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 23: Line 23:
 
   var a = $('a[href="#'+ id +'"]');
 
   var a = $('a[href="#'+ id +'"]');
 
   prev_a.removeClass('reading');
 
   prev_a.removeClass('reading');
  prev_a.addClass('readed');
 
 
   a.addClass('reading');
 
   a.addClass('reading');
 
}
 
}
Line 59: Line 58:
 
   color: #109E52;
 
   color: #109E52;
 
}
 
}
a:visited, a.readed {
+
a:visited {
 
   color: #91B798;
 
   color: #91B798;
 
}
 
}

Revision as of 08:01, 18 August 2015