Team:Wageningen UR/Templates/Page Footer

From 2013.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 11: Line 11:
$('.sub-project li:first-child a, .sub-project li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/2/20/Aspergillus-icon.png">');
$('.sub-project li:first-child a, .sub-project li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/2/20/Aspergillus-icon.png">');
-
$('.sub-project li:nth-child(2) a, .sub-project li:nth-child(2) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/metabolites-icon.png">');
+
$('.sub-project li:nth-child(2) a, .sub-project li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/5/54/Metabolites-icon.png">');
$('.sub-project li:nth-child(3) a, .sub-project li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/2/29/Toolbox-icon.png">');
$('.sub-project li:nth-child(3) a, .sub-project li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/2/29/Toolbox-icon.png">');
$('.sub-project li:nth-child(4) a, .sub-project li:nth-child(4) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/6/63/Host-icon.png">');
$('.sub-project li:nth-child(4) a, .sub-project li:nth-child(4) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/6/63/Host-icon.png">');
$('.sub-project li:nth-child(5) a, .sub-project li:nth-child(5) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/8/8e/Applications-icon.png">');
$('.sub-project li:nth-child(5) a, .sub-project li:nth-child(5) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/8/8e/Applications-icon.png">');
-
 
-
$('.sub-modeling li:first-child a, .sub-modeling li:first-child .selflink').prepend('<img src="http://beauvillemedia.nl/igem/flux-icon.png">');
 
-
$('.sub-modeling li:nth-child(2) a, .sub-modeling li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/3/33/Database-icon.png">');
 
$('.sub-parts li:first-child a, .sub-parts li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/7/7c/Biobricks-icon.png">');
$('.sub-parts li:first-child a, .sub-parts li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/7/7c/Biobricks-icon.png">');
$('.sub-parts li:nth-child(2) a, .sub-parts li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/f/f3/Imprbiobricks-icon.png">');
$('.sub-parts li:nth-child(2) a, .sub-parts li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/f/f3/Imprbiobricks-icon.png">');
-
$('.sub-notebook li:first-child a, .sub-notebook li:first-child .selflink').prepend('<img src="http://beauvillemedia.nl/igem/lablog-icon.png">');
+
$('.sub-notebook li:first-child a, .sub-notebook li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c7/Lablog-icon.png">');
-
$('.sub-notebook li:nth-child(2) a, .sub-notebook li:nth-child(2) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/protocols-icon.png">');
+
$('.sub-notebook li:nth-child(2) a, .sub-notebook li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/e/ee/Protocols-icon.png">');
$('.sub-team li:first-child a, .sub-team li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/bd/Members-icon.png">');
$('.sub-team li:first-child a, .sub-team li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/bd/Members-icon.png">');
Line 29: Line 26:
$('.sub-team li:nth-child(3) a, .sub-team li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/b5/Sponsors-icon.png">');
$('.sub-team li:nth-child(3) a, .sub-team li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/b5/Sponsors-icon.png">');
-
$('.sub-safety li:first-child a, .sub-safety li:first-child .selflink').prepend('<img src="http://beauvillemedia.nl/igem/intro-icon.png">');
+
$('.sub-achievements li:first-child a, .sub-achievements li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c7/Achievements-icon.png">');
-
$('.sub-safety li:nth-child(2) a, .sub-safety li:nth-child(2) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/general-safety-icon.png">');
+
$('.sub-achievements li:nth-child(2) a, .sub-achievements li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/8/8c/Attributions-icon.png">');
-
$('.sub-safety li:nth-child(3) a, .sub-safety li:nth-child(3) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/fungi-safety-icon.png">');
+
-
$('.sub-safety li:nth-child(4) a, .sub-safety li:nth-child(4) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/regulations-icon.png">');
+
-
$('.sub-safety li:nth-child(5) a, .sub-safety li:nth-child(5) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/suggestion-icon.png">');
+
-
$('.sub-safety li:nth-child(6) a, .sub-safety li:nth-child(6) .selflink').prepend('<img src="http://beauvillemedia.nl/igem/applications3-icon.png">');
+
-
$('.sub-human-practices li:first-child a, .sub-human-practices li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/b6/Vitruvian-icon.png">');
+
$('.sub-safety li:first-child a, .sub-safety li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/3/3b/Safetyintro-icon.png">');
 +
$('.sub-safety li:nth-child(2) a, .sub-safety li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/7/76/General-safety-icon.png">');
 +
$('.sub-safety li:nth-child(3) a, .sub-safety li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/d/d9/Fungi-safety-icon.png">');
 +
$('.sub-safety li:nth-child(4) a, .sub-safety li:nth-child(4) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/f/f3/Regulations-icon.png">');
 +
$('.sub-safety li:nth-child(5) a, .sub-safety li:nth-child(5) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/1/10/Suggestion-icon.png">');
 +
$('.sub-safety li:nth-child(6) a, .sub-safety li:nth-child(6) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/8/8e/Applications-icon.png">');
 +
 
 +
$('.sub-human-practices li:first-child a, .sub-human-practices li:first-child .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/6/69/Masterclass-icon.png">');
$('.sub-human-practices li:nth-child(2) a, .sub-human-practices li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/9/98/Cafe-icon.png">');
$('.sub-human-practices li:nth-child(2) a, .sub-human-practices li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/9/98/Cafe-icon.png">');
-
$('.sub-human-practices li:nth-child(3) a, .sub-human-practices li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/6/69/Masterclass-icon.png">');
+
$('.sub-human-practices li:nth-child(3) a, .sub-human-practices li:nth-child(3) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c6/Igemnl-icon.png">');
-
$('.sub-human-practices li:nth-child(4) a, .sub-human-practices li:nth-child(4) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c6/Igemnl-icon.png">');
+
$('.sub-human-practices li:nth-child(4) a, .sub-human-practices li:nth-child(4) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/5/59/Collaborations-icon.png">');
$('.sub-human-practices li:nth-child(5) a, .sub-human-practices li:nth-child(5) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c8/Conference-icon.png">');
$('.sub-human-practices li:nth-child(5) a, .sub-human-practices li:nth-child(5) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c8/Conference-icon.png">');
-
$('.sub-human-practices li:nth-child(6) a, .sub-human-practices li:nth-child(6) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/5/59/Collaborations-icon.png">');
+
$('.sub-human-practices li:nth-child(6) a, .sub-human-practices li:nth-child(6) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/b/b6/Vitruvian-icon.png">');
$('.subs .extern').css({'background-image': 'none', 'padding-right': '0'});
$('.subs .extern').css({'background-image': 'none', 'padding-right': '0'});
Line 47: Line 47:
$("#footer-box #footer:nth-child(2) ul").clone(true, true).contents().appendTo('#footer-box #footer:first-child ul');
$("#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();
$("#footer-box #footer:nth-child(2)").remove();
-
      $(window).load(function(){
+
 
-
        $('.subs').removeClass('active');
+
$('.subs').removeClass('active');
-
         $('#topmenu .project, ul.sub-project').hover(
+
// Project
 +
         $('#topmenu .project, ul.sub-project').mouseover(
             function() {
             function() {
-
                 $('ul.sub-project').toggleClass('active');
+
                 $('ul.sub-project').addClass('active');
             }
             }
         );
         );
-
         $('#topmenu .modeling a, ul.sub-modeling').hover(
+
         $('#topmenu .project, ul.sub-project').mouseout(
             function() {
             function() {
-
                 $('ul.sub-modeling').toggleClass('active');
+
                 $('ul.sub-project').removeClass('active');
             }
             }
         );
         );
-
         $('#topmenu .parts, ul.sub-parts').hover(
+
// Achievements
 +
         $('#topmenu .achievements, ul.sub-achievements').mouseover(
             function() {
             function() {
-
                 $('ul.sub-parts').toggleClass('active');
+
                 $('ul.sub-achievements').addClass('active');
             }
             }
         );
         );
-
         $('#topmenu .notebook, ul.sub-notebook').hover(
+
         $('#topmenu .achievements, ul.sub-achievements').mouseout(
             function() {
             function() {
-
                 $('ul.sub-notebook').toggleClass('active');
+
                 $('ul.sub-achievements').removeClass('active');
             }
             }
         );
         );
-
         $('#topmenu .safety, ul.sub-safety').hover(
+
// Safety
 +
         $('#topmenu .safety, ul.sub-safety').mouseover(
             function() {
             function() {
-
                 $('ul.sub-safety').toggleClass('active');
+
                 $('ul.sub-safety').addClass('active');
             }
             }
         );
         );
-
         $('#topmenu .team, ul.sub-team').hover(
+
         $('#topmenu .safety, ul.sub-safety').mouseout(
             function() {
             function() {
-
                 $('ul.sub-team').toggleClass('active');
+
                 $('ul.sub-safety').removeClass('active');
             }
             }
         );
         );
-
         $('#topmenu .human, ul.sub-human-practices').hover(
+
// Human practices
 +
         $('#topmenu .human, ul.sub-human-practices').mouseover(
             function() {
             function() {
-
                 $('ul.sub-human-practices').toggleClass('active');
+
                 $('ul.sub-human-practices').addClass('active');
             }
             }
         );
         );
-
    });  
+
        $('#topmenu .human, ul.sub-human-practices').mouseout(
 +
            function() {
 +
                $('ul.sub-human-practices').removeClass('active');
 +
            }
 +
        );
 +
// Team
 +
        $('#topmenu .team, ul.sub-team').mouseover(
 +
            function() {
 +
                $('ul.sub-team').addClass('active');
 +
            }
 +
        );
 +
        $('#topmenu .team, ul.sub-team').mouseout(
 +
            function() {
 +
                $('ul.sub-team').removeClass('active');
 +
            }
 +
        );
 +
// Notebook
 +
        $('#topmenu .notebook, ul.sub-notebook').mouseover(
 +
            function() {
 +
                $('ul.sub-notebook').addClass('active');
 +
            }
 +
        );
 +
        $('#topmenu .notebook, ul.sub-notebook').mouseout(
 +
            function() {
 +
                $('ul.sub-notebook').removeClass('active');
 +
            }
 +
        );
 +
 
 +
 
     });
     });
});
});

Latest revision as of 22:12, 4 October 2013