|
|
(4 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | __NOTOC__<html lang="en">
| + | <html> |
| <head> | | <head> |
- |
| |
| <link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:MIT/styles?action=raw&ctype=text/css" /> | | <link rel="stylesheet" type="text/css" href="https://2011.igem.org/Team:MIT/styles?action=raw&ctype=text/css" /> |
- |
| |
- |
| |
- | <script type="text/javascript">
| |
- | $('#rightMenu a')
| |
- | .css( {backgroundPosition: "0 0"} )
| |
- | .mouseover(function(){
| |
- | $(this).stop().animate(
| |
- | {backgroundPosition:"(0 -250px)"},
| |
- | {duration:500})
| |
- | })
| |
- | .mouseout(function(){
| |
- | $(this).stop().animate(
| |
- | {backgroundPosition:"(0 0)"},
| |
- | {duration:500})
| |
- | })
| |
- | </script>
| |
- | <script type="text/javascript">
| |
- | $(function() {
| |
- | $("#button").toggle(
| |
- | function() {
| |
- | $("#effect").animate({backgroundColor: '#aa0000', color: '#fff', width: 500}, 1000);
| |
- | },
| |
- | function() {
| |
- | $("#effect").animate({backgroundColor: '#fff', color: '#000', width: 240}, 1000);
| |
- | }
| |
- | );
| |
- | });
| |
- | $(document).ready(function(){
| |
- | if($("#nav")) {
| |
- | $("#nav dd").hide();
| |
- | $("#nav dt b").click(function() {
| |
- | if(this.className.indexOf("clicked") != -1) {
| |
- | $(this).parent().next().slideUp(200);
| |
- | $(this).removeClass("clicked");
| |
- | }
| |
- | else {
| |
- | $("#nav dt b").removeClass();
| |
- | $(this).addClass("clicked");
| |
- | $("#nav dd:visible").slideUp(200);
| |
- | $(this).parent().next().slideDown(500);
| |
- | }
| |
- | return false;
| |
- | });
| |
- | }
| |
- | });
| |
- |
| |
- | </script>
| |
- | <!--[if IE]>
| |
- | <style>
| |
- | #header {
| |
- | width: 900px;
| |
- | }
| |
- | </style>
| |
- | <![endif]-->
| |
- |
| |
- |
| |
| </head> | | </head> |
- |
| |
| <body> | | <body> |
- | <script type="text/javascript">
| |
- | $('.left-menu ul')[0].innerHTML="<li><a href=\"https://2010.igem.org\" style=\"font-weight:bold; text-transform:none\">iGEM HQ</a></li>"+$('.left-menu ul')[0].innerHTML;
| |
- | $(function() {
| |
- | $('ul.llmenu').lavaLamp({ speed: 300, autoReturn: true , target:'li'});
| |
- | });
| |
- | $(function(){
| |
- | $('ul#accmenu').accordion({
| |
- | header:'.head',
| |
- | fillSpace:false,
| |
- | autoHeight:false,
| |
- | navigation:true,
| |
- | animated: 'easeslide'})
| |
- | });
| |
- | </script>
| |
- |
| |
| <ul> | | <ul> |
- | <li>works</li> | + | <li>it works!</li> |
| </ul> | | </ul> |
- | It works!
| |
- |
| |
- |
| |
| </body> | | </body> |
| </html> | | </html> |