Difference between revisions of "Team:Greece/Project"

Line 144: Line 144:
 
</style>
 
</style>
  
<!--Styling script-->
 
<script>
 
//Changes shall apply under void()
 
// Upper black toolbar stays there id = 'top_menu_14'  -> Could be display:block
 
// Main div wrapper contains code and all other stuff id = 'content' -> Change id to 'content2'
 
// Reason: iGEM puts everything in document.getElementById('content') - change id - cause element 404
 
void(document.getElementById('content').id = 'content0')
 
  
// Div (placeholder) containing the iGEM logo and some text id = 'top_title' -> Apply display: none
 
void(document.getElementById('top_title').style.display = 'none');
 
 
// Small icon in the top black toolbar id = 'bars_item' -> Apply display: none
 
void(document.getElementById('bars_item').style.display = 'none');
 
// Same application for it's side effect (display an ugly div by default)
 
 
void(document.getElementById('user_item').style.display = 'none');
 
void(document.getElementById('sideMenu').style.display = 'none');
 
var element = document.getElementById('home_logo');
 
element.outerHTML = '';
 
delete element;
 
 
// Change color of current link
 
$('a[href*="' +window.location.href+'"]').each(function() { $(this).css('color', '#000000'); });
 
</script>
 
 
</body>
 
</body>
 
</html>
 
</html>

Revision as of 20:42, 28 August 2017

Loading...