Team:Wageningen UR/Templates/Page Footer

From 2013.igem.org

(Difference between revisions)
 
(69 intermediate revisions not shown)
Line 1: Line 1:
-
<html><script type="text/javascript">
+
<html>
-
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){23.1c.1g=6(n){u o=$.2W({L:2U,11:1v,V:t,X:t,2g:Y,1o:2K,15:8,1N:\'29\',1M:30,24:\'1L\',R:t,1Y:\'1W\',1G:Y,14:t,1U:Y,1S:\'1W\',1Q:10,1q:t,1F:t,1O:t,M:\'D\'},n);$(A).1m(6(){6 1u(a){u b=y.2v(a/2e);a=(a-(b*2e));3(a<10){a=\'0\'+a}2Z b+\':\'+a}u c,1E=[0],I=[0,0],1j=[0,0],P=[0],1s,x=1,w=1,1b=0,1D,1p=0,1d=Y,1e=Y,1C,1t,$7=$(A).1V(),$1i=$7.v(\'> O\'),$N=$(\'<O J="N"></O>\').17($7),$18=$(\'<S J="18">&2S;</S>\').17($N),H=$1i.2w;3(o.R){u d=$(\'<S J="2u">0:20</S>\').17($N);3(o.1G){d.2q(\' / 0:20\')}u f=y.B(d.Z(t)/2)}3(o.V){u g=$(\'<O J="1B"></O>\').17($7).p({r:0},0);3(o.X){u h=$(\'<O J="2X"></O>\').17($7).p({r:0},0);u i=$(\'<O J="22"></O>\').17($7).p({r:0},0)}}$1i.1m(6(){u a=$(A);a.1H(\'D\').1H(\'D\'+x).1x(\'1y\',a.K(\'1y\')).2J(\'1y\').p({r:0},0);3(x<H||o.1q){3(a.K(\'1P\')){P[x]=1k(a.K(\'1P\'),10)}F{P[x]=o.1Q}1p=+1p+P[x]}F{P[x]=0}1j[x]=+1j[(x-1)]+P[(x-1)];x++});x=1;3(o.1N==\'29\'){c=(o.L-o.1o)/2}F{c=o.1N}u j=1u(1p);1Z(x=1;x<(H+1);x++){$(\'<S J="Q Q\'+x+\'"></S>\').2Q($N).1x(\'E\',x)}u k=$N.v(\'.Q\');x=1;u l=k.Z(t),1w=k.1r(t),1z=y.B(l/2);k.1m(6(){u a=$(A);1E[x]=((P[(x-1)]/1p)*2p).2x(4);I[x]=+I[(x-1)]+y.B(o.1o*(1E[x]/2p));a.q({G:(I[x]-1z),16:-(y.B(1w/2)-y.B(o.15/2))});3(o.14){u b=$7.v(\'.D\'+x).1x(\'1y\');3(b){a.1R(\'<S J="1l">\'+b+\'</S>\')}}3(o.1U){a.v(\'.1l\').1R(\'<1T J="2s">\'+1u(1j[x])+\'</1T><2t>\')}x++});3(o.14){u m=$7.v(\'.1l\')}$7.q({12:o.L,1a:o.11});3(o.M==\'D\'||o.M==\'1A\'||o.M==\'2y\'){$7.q({2A:\'2B\'})}$1i.q({12:o.L,1a:o.11});$N.q({12:o.1o,1a:o.15,2E:c,2F:o.1M,2G:o.1M}).q(o.24,0);$18.q({1a:o.15});3(o.R&&o.1Y==\'1X\'){d.q({16:(o.15+5),G:-f})}F 3(o.R){d.q({1L:(o.15+5),G:-f})}3(o.14){3(o.1S==\'1X\'){m.q({16:1w+5})}F{m.q({1L:1w+5})}m.1m(6(){u a=$(A);a.q({G:-(y.B(a.Z(t)/2)-1z)})})}3(o.V){g.q({16:(y.B(o.11/2)-y.B(g.1r(t)/2)),G:(y.B(o.L/2)-y.B(g.Z(t)/2))});3(o.X){h.q({16:(y.B(o.11/2)-y.B(h.1r(t)/2)),2L:(y.B(o.L/2)+y.B(g.Z(t)/2))});i.q({16:(y.B(o.11/2)-y.B(i.1r(t)/2)),G:(y.B(o.L/2)+y.B(g.Z(t)/2))})}}$1i.1m(6(){u a=$(A);3(a.Z()>o.L){a.12((a.12()-1k(a.q(\'2M\'),10)-1k(a.q(\'2N\'),10)))}3(a.1r()>o.11){a.1a((a.1a()-1k(a.q(\'2O\'),10)-1k(a.q(\'2P\'),10)))}});6 1I(a){d.39(1u(a));3(o.1G){d.2q(\' / \'+j)}}6 21(a){1I(a);1D=2T(6(){1b++;1I(1b)},1J)}6 1K(){2r(1D)}6 s(){$18.s();3(o.R){1K();d.s()}1d=Y;3(o.V){g.K(\'J\',\'1B\')}}6 W(a,b){3(a<2&&!b&&!1e){25()}3(!b){1b=1j[a]}3(o.R){21(1b)}3(!b){$18.q({12:I[a]});3(o.R){d.q({G:I[a]-f})}}3(b){1t=(b*1J)}F{1t=(P[a]*1J)}3(a<H){1s=I[(a+1)]}F{1s=o.1o}3(o.R){d.p({G:(1s-f)},1t,\'26\')}$18.p({12:1s},1t,\'26\',6(){3(o.R){1K()}3(a<H){W((a+1))}F{27();1e=Y;3(o.1q){W(1)}}});3(a!=w){$7.v(\'.D:28(.D\'+a+\'):28(.D\'+w+\')\').s().p({r:0},0).q({\'z-T\':0});3(o.M==\'2z\'){$7.v(\'.D\'+w).s().p({r:0},U,6(){$(A).q({\'z-T\':0})});$7.v(\'.D\'+a).s().p({r:1},U,6(){$(A).q({\'z-T\':1})})}3(o.M==\'D\'||o.M==\'1A\'){$7.v(\'.D\'+w).q({\'z-T\':1}).s(t,t).p({G:-o.L},2a,6(){$(A).q({\'z-T\':0,G:0}).p({r:0},0)})}3(o.M==\'1A\'){$7.v(\'.D\'+a).q({\'z-T\':0}).s(t,t).p({r:1},0)}3(o.M==\'D\'){$7.v(\'.D\'+a).q({\'z-T\':1,G:o.L}).s(t,t).p({r:1},0).p({G:0},2a)}3(o.M==\'2C\'){$7.v(\'.D\'+w).p({r:0},0);$7.v(\'.D\'+a).p({r:1},0)}}$7.v(\'.Q\'+w).2D(\'2b\');$7.v(\'.Q\'+a).1H(\'2b\');w=a;1d=t;3(o.V){g.K(\'J\',\'2c\')}3(o.V&&(a==H&&!o.1q)){s()}3(!b&&1e){2d()}3(!1e){1e=t}}$.1c.1g.2H=6(){g.C()};$.1c.1g.1B=6(){3(!1d){g.C()}};$.1c.1g.2c=6(){3(1d){g.C()}};$.1c.1g.22=6(){i.C()};$.1c.1g.2I=6(){h.C()};6 25(){3(19 2f==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2f(a)}};6 2d(){3(19 2h==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2h(a,w)}};6 27(){3(19 2i==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2i(a)}};6 2j(){3(19 2k==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2k(a,w)}};6 2l(){3(19 2m==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2m(a,w)}};6 2n(){3(19 2o==\'6\'){u a=$7.K(\'E\');3(a==13||!a){a=\'[1h E]\'}2o(a,w)}};k.C(6(){s();W($(A).1x(\'E\'));3(!o.1F){g.C()}}).1n(6(){3(o.14){$(A).v(\'.1l\').1V()}},6(){3(o.14){$(A).v(\'.1l\').2V()}});3(o.V){3(o.2g){g.s().p({r:0.5},U);3(o.X){h.s().p({r:0.5},U);i.s().p({r:0.5},U)}}F{$7.1n(6(){g.s().p({r:0.5},U);3(o.X){h.s().p({r:0.5},U);i.s().p({r:0.5},U)}},6(){g.s().p({r:0},1f);3(o.X){h.s().p({r:0},1f);i.s().p({r:0},1f)}})}g.C(6(){3(1d){s();1C=(P[w]-1b+1j[w]);2j()}F{3(w==H&&!o.1q){W(1)}F{W(w,1C)}2l()}}).1n(6(){$(A).s().p({r:0.9},1f)},6(){$(A).s().p({r:0.5},1v)});3(o.X){h.C(6(){3(w==1){$7.v(\'.Q\'+H).C()}F{$7.v(\'.Q\'+(w-1)).C()}}).1n(6(){$(A).s().p({r:0.9},1f)},6(){$(A).s().p({r:0.5},1v)});i.C(6(){3(w==H){$7.v(\'.2Y\').C()}F{$7.v(\'.Q\'+(w+1)).C()}}).1n(6(){$(A).s().p({r:0.9},1f)},6(){$(A).s().p({r:0.5},1v)})}}$N.C(6(e){u a=((e.31-$(A).33().G)+1z);u b;x=1;1Z(x 34 I){3(x>0&&x<H){3((I[x]<a)&&(I[(+x+1)]>a)){b=x}}}3(a>I[H]){b=H}3(a<0){b=1}3(b!=w){$N.v(\'.Q\'+b).C()}});$1i.C(6(){2n()});3(o.1O){$(35).36(6(e){3(e.37==32){e.38();g.C()}})}$7.v(\'.2R\').p({r:1},0).q({\'z-T\':1});3(o.1F){W(1)}})}})(23);',62,196,'|||if|||function|container||||||||||||||||||animate|css|opacity|stop|true|var|find|activenode||Math||this|round|click|slide|id|else|left|nodes|nodepos|class|attr|containerwidth|transition|timeline|li|nodeinterval|node|showtimedisplay|div|index|300|showpauseplay|start|showprevnext|false|outerWidth||containerheight|width|undefined|showtooltip|timelineheight|top|prependTo|innertimeline|typeof|height|seconds|fn|playing|started|200|timeliner|no|slides|nodesec|parseInt|tooltip|each|hover|timelinewidth|totaltime|repeat|outerHeight|targetpos|animationtime|getdisplaytime|400|nodeheight|data|title|halfnodewidth|reveal|play|timeremaining|timeinterval|prenodepos|autoplay|showtotaltime|addClass|dtime|1000|time_stop|bottom|timelineverticalmargin|timelinehorizontalmargin|keyboard|lang|interval|prepend|tooltipposition|label|showtooltiptime|show|above|below|timedisplayposition|for|00|time_start|next|jQuery|timelineposition|the_start_callback|linear|the_end_callback|not|auto|600|node_active|pause|the_newslide_callback|60|start_callback|controls_always_visible|newslide_callback|end_callback|the_paused_callback|paused_callback|the_resumed_callback|resumed_callback|the_click_callback|click_callback|100|append|clearInterval|tooltiptime|br|timedisplay|floor|length|toFixed|cover|fade|overflow|hidden|instant|removeClass|margin|marginTop|marginBottom|pauseplay|prev|removeAttr|720|right|paddingLeft|paddingRight|paddingTop|paddingBottom|appendTo|slide1|nbsp|setInterval|800|hide|extend|previous|node1|return||pageX||offset|in|document|keydown|keyCode|preventDefault|html'.split('|'),0,{}));
+
 +
<script>
$=jQuery.noConflict();
$=jQuery.noConflict();
-
 
-
// Slider
 
-
 
$('h1.firstHeading, #contentSub').remove();
$('h1.firstHeading, #contentSub').remove();
$('#topmenu .menucenter li .selflink').parent().addClass('active');
$('#topmenu .menucenter li .selflink').parent().addClass('active');
 +
$(function ($) {
$(function ($) {
     jQuery(document).ready(function ($) {
     jQuery(document).ready(function ($) {
-
         $('#topmenu .project, ul.sub-project').hover(
+
 
 +
$('.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="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(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-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-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="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:nth-child(2) a, .sub-team li:nth-child(2) .selflink').prepend('<img src="https://static.igem.org/mediawiki/2013/c/c8/Profile-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-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-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: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(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/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(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'});
 +
 
 +
$("#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();
 +
 
 +
$('.subs').removeClass('active');
 +
// Project
 +
         $('#topmenu .project, ul.sub-project').mouseover(
             function() {
             function() {
-
                 $('ul.sub-project').toggleClass('active');
+
                 $('ul.sub-project').addClass('active');
 +
            }
 +
        );
 +
        $('#topmenu .project, ul.sub-project').mouseout(
 +
            function() {
 +
                $('ul.sub-project').removeClass('active');
 +
            }
 +
        );
 +
// Achievements
 +
        $('#topmenu .achievements, ul.sub-achievements').mouseover(
 +
            function() {
 +
                $('ul.sub-achievements').addClass('active');
 +
            }
 +
        );
 +
        $('#topmenu .achievements, ul.sub-achievements').mouseout(
 +
            function() {
 +
                $('ul.sub-achievements').removeClass('active');
 +
            }
 +
        );
 +
// Safety
 +
        $('#topmenu .safety, ul.sub-safety').mouseover(
 +
            function() {
 +
                $('ul.sub-safety').addClass('active');
 +
            }
 +
        );
 +
        $('#topmenu .safety, ul.sub-safety').mouseout(
 +
            function() {
 +
                $('ul.sub-safety').removeClass('active');
 +
            }
 +
        );
 +
// Human practices
 +
        $('#topmenu .human, ul.sub-human-practices').mouseover(
 +
            function() {
 +
                $('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');
             }
             }
         );
         );
-
$('#example3').timeliner({
 
-
containerwidth: 600,
 
-
containerheight: 300,
 
-
timelinewidth: 550,
 
-
timelineheight: 3,
 
-
timelineverticalmargin: 0,
 
-
autoplay: true,
 
-
showtooltiptime: true,
 
-
repeat: true,
 
-
showtotaltime:true,
 
-
timedisplayposition: 'below',
 
-
transition: 'fade'
 
-
});
 
     });
     });
});
});
-
</script></html>
+
 
 +
 
 +
</script>
 +
 
 +
</html>

Latest revision as of 22:12, 4 October 2013