|
|
Line 32: |
Line 32: |
| | | |
| var contentarray=[ | | var contentarray=[ |
- | "",
| + | verview</a></li><li><a href='https://2011.igem.org/Team:UC_Davis/Sponsors'>Our Sponsors</a></li></ul>", |
| | | |
- | "<ul><li><a href=https://2011.igem.org/Team:ArborVitae/Team#Team>Team Members</a></li><li><a href=https://2011.igem.org/Team:ArborVitae/Team#Advisors>Advisors</a></li><li><a href=https://2011.igem.org/Team:ArborVitae/Team#Contact>Contact</a></li></ul>",
| |
| | | |
- | "<ul><li><a href='https://2011.igem.org/Team:ArborVitae/Project'>Overview</a></li><li><a href='https://2011.igem.org/Team:ArborVitae/Project_Selection'>Selection</a></li><li><a href='https://2011.igem.org/Team:ArborVitae
| |
- |
| |
- | "<ul><li><a href=https://2011.igem.org/TeamArborVitae/Safety#Environmental>Environmental</a></li><li><a href=https://2011.igem.org/Team:ArborVitae/Safety#Public>Public</a></li><li>
| |
- |
| |
- | "<ul><li><a href='https://2011.igem.org/Team:ArborVitae/Notebook'>Overview</a></li><li><a href='https://2011.igem.org/Team:ArborVitae/Gallery'>Gallery</a></li><li><a href='https://2011.igem.org/Team:ArborVitae/Protocols'>Protocols</a></li></ul>",
| |
- |
| |
- | "<ul><li><a href=https://2011.igem.org/Team:UC_Davis/Data>Overview</a></li><li><a href=https://2011.igem.org/Team:UC_Davis/Data_LacI>LacI</a></li><li><a href=https://2011.igem.org/Team:UC_Davis/Data_TetR>TetR</a></li><li><a href = 'https://2011.igem.org/Team:UC_Davis/Data_LambdacI'>λ cI</a></li></ul>",
| |
- |
| |
- | "<ul><li><a href='https://2011.igem.org/Team:UC_Davis/Attributions'>Overview</a></li><li><a href='https://2011.igem.org/Team:UC_Davis/Sponsors'>Our Sponsors</a></li></ul>",
| |
- |
| |
- | "<ul><li><a href='https://2011.igem.org/Main_Page' target='_blank'>iGEM Main Page</a></li><li><a href='http://partsregistry.org/Main_Page' target='_blank'>Parts Registry</a></li><li><a href='https://igem.org/About' target='_blank'>About</a></li><li><a href='https://2011.igem.org/Team:UC_Davis/Criteria'>Criteria</a></li></ul>",
| |
- |
| |
- | ];
| |
- |
| |
- | var gooeymenu={effectmarkup:'<li class="active"></li>',setup:function(usersetting)
| |
- | {
| |
- | jQuery(function($){function snapback(dur){}
| |
- |
| |
- | var setting=jQuery.extend({fx:'easeOutBack',fxtime:500,snapdelay:300},usersetting);
| |
- | var $menu=$('#'+setting.id).find('li:eq(0)').parents('ul:eq(0)');
| |
- | $menulinks=$menu.find('li a');
| |
- | $menulinks.eq(thispagenumber).css('color',colorsarray[thispagenumber]);
| |
- | var $contentbox=$('#contentbox').css({top:$menulinks.eq(0).position().bottom,zIndex:1});
| |
- | var $effectref=$(gooeymenu.effectmarkup).css(
| |
- | {
| |
| top:$menulinks.eq(0).position().top, | | top:$menulinks.eq(0).position().top, |
| width:$menulinks.eq(thispagenumber).parent().outerWidth(), | | width:$menulinks.eq(thispagenumber).parent().outerWidth(), |