|
|
Line 1: |
Line 1: |
| <html> | | <html> |
- | <script type="text/javascript"> | + | <script src="https://2013.igem.org/wiki/index.php?title=Team:Wageningen_UR/JS/scripts.js&action=raw"></script> |
- | | + | </html> |
- | $=jQuery.noConflict();
| + | |
- | | + | |
- | $('h1.firstHeading, #contentSub').remove();
| + | |
- | $('#topmenu .menucenter li .selflink').parent().addClass('active');
| + | |
- | | + | |
- | $(function ($) {
| + | |
- | jQuery(document).ready(function ($) {
| + | |
- | | + | |
- | $('.sub-project li:first-child a').prepend('<img src="https://static.igem.org/mediawiki/2013/6/65/Petri_dish.png">');
| + | |
- | $('.sub-project li:nth-child(2) a').prepend('<img src="https://static.igem.org/mediawiki/2013/2/20/Aspergillus-icon.png">');
| + | |
- | $('.sub-project li:nth-child(4) a').prepend('<img src="https://static.igem.org/mediawiki/2013/8/87/Atp-icon.png">');
| + | |
- | $('.sub-project li:nth-child(5) a').prepend('<img src="https://static.igem.org/mediawiki/2013/6/6f/Ph-icon.png">');
| + | |
- | | + | |
- | $('.sub-modeling li:nth-child(2) a').prepend('<img src="https://static.igem.org/mediawiki/2013/3/33/Database-icon.png">');
| + | |
- | | + | |
- | $('.sub-parts li:first-child a').prepend('<img src="https://static.igem.org/mediawiki/2013/7/7c/Biobricks-icon.png">');
| + | |
- | $('.sub-parts li:nth-child(2) a').prepend('<img src="https://static.igem.org/mediawiki/2013/f/f3/Imprbiobricks-icon.png">');
| + | |
- | | + | |
- | $('.sub-human-practices li:nth-child(3) a').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c8/Conference-icon.png">');
| + | |
- | $('.sub-human-practices li:nth-child(4) a').prepend('<img src="https://static.igem.org/mediawiki/2013/5/59/Collaborations-icon.png">');
| + | |
- | | + | |
- | $('.subs .extern').css({'background-image': 'none', 'padding-right': '0'});
| + | |
- | | + | |
- | $("#footer-box #footer:nth-child(2) ul").clone(true, true).contents().appendTo('#footer-box #footer:first-child ul');
| + | |
- | $("#footer-box #footer:nth-child(2)").remove();
| + | |
- | $('#topmenu .project, ul.sub-project').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-project').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .modeling, ul.sub-modeling').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-modeling').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .parts, ul.sub-parts').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-parts').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .notebook, ul.sub-notebook').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-notebook').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .safety, ul.sub-safety').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-safety').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .team, ul.sub-team').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-team').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | $('#topmenu .menuright, ul.sub-human-practices').hover(
| + | |
- | function() {
| + | |
- | $('ul.sub-human-practices').toggleClass('active');
| + | |
- | }
| + | |
- | );
| + | |
- | });
| + | |
- | });
| + | |
- | </script></html>
| + | |