Difference between revisions of "Team:Greece/human practices"

Line 4: Line 4:
 
     <link type='text/css' rel='stylesheet' href='navigation_bar.css' />
 
     <link type='text/css' rel='stylesheet' href='navigation_bar.css' />
 
     <script type='text/javascript' src='https://cldup.com/HJtlSwy2qT.js'></script>-->
 
     <script type='text/javascript' src='https://cldup.com/HJtlSwy2qT.js'></script>-->
<!--<script>
+
<script>
 
var win_width = window.innerWidth;
 
var win_width = window.innerWidth;
 
var win_height = window.innerHeight;
 
var win_height = window.innerHeight;
 
alert(win_width+'px - '+win_height+'px');
 
alert(win_width+'px - '+win_height+'px');
</script>-->
+
</script>
  
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>  
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>  
Line 255: Line 255:
 
element.outerHTML = '';
 
element.outerHTML = '';
 
delete element;
 
delete element;
 +
 +
            // Change color of current link
 +
            $('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); });
 
</script>
 
</script>
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 14:04, 14 August 2017