Difference between revisions of "Team:Greece/our project"

 
(6 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'); });
 
    }
 
    }
    $(function() {
 
        $('#list li a').click(function() {
 
          $('#list li').removeClass();
 
          $($(this).attr('href')).addClass('active');
 
        });
 
    });
 
 
   </script>
 
   </script>
  
Line 37: 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/modeling'>MODELING</a></li>
+
  <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 61: Line 59:
 
a:link{ text-decoration:none; }
 
a:link{ text-decoration:none; }
 
a:hover{ text-decoration:none; }
 
a:hover{ text-decoration:none; }
a:active{ color: #000000; }
+
a:active{ text-decoration: none; }
 
   
 
   
 
.clearfix:after {
 
.clearfix:after {
Line 272: 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