CharisKomos (Talk | contribs) (Created page with "<html> <head> <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> <meta name="viewport" content="width=device-width, initial-scale=...") |
CharisKomos (Talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
− | <script> window.onload = function (){ | + | <script> |
+ | window.onload = function (){ | ||
//HIDE | //HIDE | ||
Line 12: | Line 13: | ||
//SHOW | //SHOW | ||
void(document.getElementById('main-wraper').style.display = 'block'); | void(document.getElementById('main-wraper').style.display = 'block'); | ||
+ | |||
+ | // Change color of current link | ||
+ | $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); }); | ||
} | } | ||
</script> | </script> | ||
Line 31: | Line 35: | ||
<span id='just_to_align'> | <span id='just_to_align'> | ||
<li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/our_project'>PROJECT</a></li> | <li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/our_project'>PROJECT</a></li> | ||
− | <li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/ | + | <li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/Model'>MODELING</a></li> |
<li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/human_practices'>HUMAN PRACTICES</a></li> | <li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/human_practices'>HUMAN PRACTICES</a></li> | ||
<li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/contribution'>CONTRIBUTION</a></li> | <li style='width:' class='li_indiv'><a target='_self' href='https://2017.igem.org/Team:Greece/contribution'>CONTRIBUTION</a></li> | ||
Line 55: | Line 59: | ||
a:link{ text-decoration:none; } | a:link{ text-decoration:none; } | ||
a:hover{ text-decoration:none; } | a:hover{ text-decoration:none; } | ||
− | a:active{ text-decoration:none; } | + | a:active{ text-decoration: none; } |
.clearfix:after { | .clearfix:after { | ||
Line 266: | Line 270: | ||
element.outerHTML = ''; | element.outerHTML = ''; | ||
delete element; | delete element; | ||
+ | |||
+ | // Change color of current link | ||
+ | $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#ddeeff'); }); | ||
</script> | </script> | ||
+ | <noscript> | ||
+ | // Change color of current link | ||
+ | $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#ddeeff'); }); | ||
+ | </noscript> | ||
<style> | <style> | ||
#loading-background{ | #loading-background{ |
Latest revision as of 00:11, 17 August 2017