Created
March 31, 2017 14:23
-
-
Save KarasAlina/73927c581815a56e11b2916e762059c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
var url=document.location.href; | |
$.each($("#preface-top a"),function(){ | |
if(this.href==url){$(this).addClass('activeCSS');}; | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment