CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 14: | Line 14: | ||
<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> | ||
− | + | <!-- Call Template Scrips --> | |
+ | <script type="text/javascript" src="https://2017.igem.org/Template:Greece/Javascript? | ||
+ | action=raw&ctype=text/javascript"></script> | ||
<!-- Change document title --> | <!-- Change document title --> | ||
Line 141: | Line 143: | ||
</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; | ||
+ | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 20:44, 28 August 2017