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 58: | Line 59: | ||
color: #109E52; | color: #109E52; | ||
} | } | ||
− | a:visited{ | + | a:visited, a.readed { |
− | + | ||
color: #91B798; | color: #91B798; | ||
} | } |
Revision as of 07:53, 18 August 2015