CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 21: | Line 21: | ||
</head> | </head> | ||
<body> | <body> | ||
+ | |||
+ | window.onload = function(){ | ||
+ | // Change color of current link | ||
+ | $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); }); | ||
+ | } | ||
<!-- Navigation Bar --> | <!-- Navigation Bar --> | ||
Line 256: | Line 261: | ||
delete element; | delete element; | ||
− | |||
− | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 14:05, 14 August 2017
window.onload = function(){ // Change color of current link $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); }); }