Team:Tuebingen/Template/NavigationAccLava

From 2013.igem.org

Revision as of 12:33, 25 August 2013 by SvenB (Talk | contribs)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> </script> <script type="text/javascript" src="jquery_menu.js" style="display:none"> </script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> <script type="text/javascript" src="jquery.easing.1.3.js"></script>


<script type='text/javascript' style="display:none"> (function(jQuery){jQuery.fn.lavaLamp=function(o){o=jQuery.extend({target:'li',fx:'swing',speed:500,click:function(){return true},startItem:,autoReturn:true,returnDelay:0,setOnClick:true,homeTop:0,homeLeft:0,homeWidth:0,homeHeight:0,returnHome:false},o||{});return this.each(function(){if(jQuery(this).css('position')=='static') jQuery(this).css('position','relative');if(o.homeTop||o.homeLeft){var $home=jQuery('<'+o.target+' class="homeLava"></'+o.target+'>').css({left:o.homeLeft,top:o.homeTop,width:o.homeWidth,height:o.homeHeight,position:'absolute'});jQuery(this).prepend($home);} var path=location.pathname+location.search+location.hash,$selected,$back,$lt=jQuery(o.target+'[class!=noLava]',this),delayTimer,bx=by=0;$selected=jQuery(o.target+'.selectedLava',this);if(o.startItem!=) $selected=$lt.eq(o.startItem);if((o.homeTop||o.homeLeft)&&$selected.length<1) $selected=$home;if($selected.length<1){var pathmatch_len=0,$pathel;$lt.each(function(){var thishref=$('a:first',this).attr('href');if(path.indexOf(thishref)>-1&&thishref.length>pathmatch_len) {$pathel=$(this);pathmatch_len=thishref.length;}});if(pathmatch_len>0){$selected=$pathel;}} if($selected.length<1) $selected=$lt.eq(0);$selected=jQuery($selected.eq(0).addClass('selectedLava'));$lt.bind('mouseenter',function(){if(delayTimer){clearTimeout(delayTimer);delayTimer=null;} move(jQuery(this));}).click(function(e){if(o.setOnClick){$selected.removeClass('selectedLava');$selected=jQuery(this).addClass('selectedLava');}

return o.click.apply(this,[e,this]);});$back=jQuery('
  • </li>').css('position','absolute').prependTo(this);bx=parseInt($back.css('borderLeftWidth').match(/\d+/))+parseInt($back.css('borderRightWidth').match(/\d+/))+parseInt($back.css('paddingLeft').match(/\d+/))+parseInt($back.css('paddingRight').match(/\d+/));by=parseInt($back.css('borderTopWidth').match(/\d+/))+parseInt($back.css('borderBottomWidth').match(/\d+/))+parseInt($back.css('paddingTop').match(/\d+/))+parseInt($back.css('paddingBottom').match(/\d+/));if(o.homeTop||o.homeLeft)

    $back.css({left:o.homeLeft,top:o.homeTop,width:o.homeWidth,height:o.homeHeight});else {$back.css({left:$selected.position().left,top:$selected.position().top,width:$selected.outerWidth()-bx,height:$selected.outerHeight()-by});} jQuery(this).bind('mouseleave',function(){var $returnEl=null;if(o.returnHome) $returnEl=$home;else if(!o.autoReturn) return true;if(o.returnDelay){if(delayTimer)clearTimeout(delayTimer);delayTimer=setTimeout(function(){move($returnEl);},o.returnDelay);} else{move($returnEl);} return true;});function move($el){if(!$el)$el=$selected;$back.stop() .animate({left:$el.position().left,top:$el.position().top,width:$el.outerWidth()-bx,height:$el.outerHeight()-by},o.speed,o.fx);};});};})(jQuery); </script>

    <script type="text/javascript"> $(function() { $('ul.AccLavaNavigation').lavaLamp({ speed: 300, autoReturn: true , target:'li'}); }); $(function(){

           $('ul#accordionMenu').accordion({
                 header:'.head',
                 fillSpace:false,
                 autoHeight:false,
                 navigation:true,
                 animated: 'easeslide'})
    

    }); </script>

    <style type="text/css" style="display:none">

    1. bodyContent{

    position:relative; width:970px; font-family: Arial, sans-serif; }

    1. left{

    float:left; width:12em; padding:1em; background-color:grey; }

    1. left ul{

    list-style:none; overflow:hidden; padding-left:0px; margin-left:10px; }

    1. left ul li{

    margin-bottom:8px; position:relative; padding-top:4px; padding-bottom:0px; padding:none; font-family:Arial; }

    1. left ul.AccLavaNavigation li{

    padding-left:10px; }

    1. left ul li.backLava{

    background-color:white; height:23px; }

    1. left a{

    color: blue; font-size:15px; font-weight:bold; text-decoration:none; outline:none; display:block; width:200px; }

    1. left a:hover{

    color:#181818; }

    1. left a.hello{

    display:inline; } </style> </head>

    <body>

    • <a class="head" href="#"> Introduction</a>
      • <a href="/Team:Cambridge">Home</a>
      • <a href="/Team:Cambridge/TheTeam">Meet the Team</a>
      • <a href="/Team:Cambridge/Photos">Photo Gallery</a>
      • <a href="/Team:Cambridge/Videos">Videos</a>
      • <a href="/Team:Cambridge/BioBricks">Parts submitted</a>
    • <a class="head" href="#">Project Firefly</a>
      • <a href="/Team:Cambridge/Bioluminescence">Introduction</a>
      • <a href="/Team:Cambridge/Bioluminescence/Background_Firefly">Background</a>
      • <a href="/Team:Cambridge/Bioluminescence/Colour">Coloured outputs</a>
      • <a href="/Team:Cambridge/Bioluminescence/Luciferin_Regeneration">Luciferin recovery</a>
      • <a href="/Team:Cambridge/Bioluminescence/Firefly_Modelling">Modelling</a>
      • <a href="/Team:Cambridge/Bioluminescence/Firefly_Characterisation">Characterisation</a>
    • <a class="head" href="#">Project Vibrio</a>
      • <a href="/Team:Cambridge/Bioluminescence/Bacterial_Luciferases">Introduction</a>
      • <a href="/Team:Cambridge/Bioluminescence/Background">Background</a>
      • <a href="/Team:Cambridge/Bioluminescence/G28">The LuxBrick</a>
      • <a href="/Team:Cambridge/Bioluminescence/Bacterial_Codon_optimisation">Codon optimisation</a>
      • <a href="/Team:Cambridge/Bioluminescence/Vibrio_Modelling">Modelling</a>
      • <a href="/Team:Cambridge/Bioluminescence/Vibrio_Characterisation">Characterisation</a>
    • <a class="head" href="#">Tools</a>
      • <a href="/Team:Cambridge/Tools/Gibson">Gibthon</a>
      • <a href="/Team:Cambridge/Tools/GenBank">BioBrick ? GenBank</a>
      • <a href="/Team:Cambridge/Tools/Ligate">Ligation Calculator</a>
      • <a href="/Team:Cambridge/Tools/Eglometer">The E.glometer</a>

    • <a class="head" href="#">Gibson Assembly</a>
      • <a href="/Team:Cambridge/Gibson/Introduction">Introduction</a>
      • <a href="/Team:Cambridge/Gibson/Mechanism">How it works</a>
      • <a href="/Team:Cambridge/Gibson/Protocol">Protocol</a>
      • <a href="/Team:Cambridge/Gibson/RFC">RFC</a>
    • <a class="head" href="#">Considerations</a>
      • <a href="/Team:Cambridge/Human_Practices">Human Practices</a>
      • <a href="/Team:Cambridge/Safety">Safety</a>
    • <a class="head" href="#">Future applications</a>
      • <a href="/Team:Cambridge/Tools/microMeasure">Biosensors</a>
      • <a href="/Team:Cambridge/Tools/Lighting">Lighting</a>
    • <a class="head" href="/Team:Cambridge/Notebook/Week1">Notebook</a>
      • <a href="/Team:Cambridge/Notebook/Summary">Summary</a>
      • <a href="/Team:Cambridge/Notebook/Week1">Week 1</a>
      • <a href="/Team:Cambridge/Notebook/Week2">Week 2</a>
      • <a href="/Team:Cambridge/Notebook/Week3">Week 3</a>
      • <a href="/Team:Cambridge/Notebook/Week4">Week 4</a>
      • <a href="/Team:Cambridge/Notebook/Week5">Week 5</a>
      • <a href="/Team:Cambridge/Notebook/Week6">Week 6</a>
      • <a href="/Team:Cambridge/Notebook/Week7">Week 7</a>
      • <a href="/Team:Cambridge/Notebook/Week8">Week 8</a>
      • <a href="/Team:Cambridge/Notebook/Week9">Week 9</a>
      • <a href="/Team:Cambridge/Notebook/Week10">Week 10</a>
      • <a href="/Team:Cambridge/Notebook/Week11">Week 11</a>
      • <a href="/Team:Cambridge/Notebook/Week12">Week 12</a>
      • <a href="/Team:Cambridge/Notebook/FurtherWork">Beyond Week 12</a>
      • <a href="/Team:Cambridge/Protocols">Protocols</a>
    • <a href="/Team:Cambridge/Partners" class="head">Our Partners</a>
      • <a href="/Team:Cambridge/Partners">Sponsors</a>
      • <a href="/Team:Cambridge/iGEM_Teams">iGEM Teams</a>
      • <a href="/Team:Cambridge/Departments">University</a>
      • <a href="/Team:Cambridge/Publicity">Publicity</a>

    </body>

    </html>


    </html>