Team:UC Davis/Project Overview

From 2013.igem.org

(Difference between revisions)
Line 3: Line 3:
<html>
<html>
<head>
<head>
 +
 +
<!-- Start twitter javascript -->
 +
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
 +
</script>
 +
 +
<script type="text/javascript" src="https://2013.igem.org/wiki/skins/common/wikibits.js?270"><!-- wikibits js --></script>
 +
        <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
 +
</script>
 +
<!-- end twitter javascript -->
 +
 +
<!-- Head Scripts -->
<!-- Head Scripts -->
Line 11: Line 22:
     <script type="text/javascript"        src ="https://2013.igem.org/common/jquery-latest.min.js"></script>
     <script type="text/javascript"        src ="https://2013.igem.org/common/jquery-latest.min.js"></script>
<!-- End head Scripts -->
<!-- End head Scripts -->
 +
<!-- slide script starts here -->
<!-- slide script starts here -->
Line 37: Line 49:
         });
         });
-
$('.progress li').click(function(){
 
-
   
 
-
var $ncurrent = $(this);
 
-
        $('.progress li').removeClass('current').removeClass('previous');
 
-
        $('#slides IMG').removeClass('current').removeClass('previous');
 
-
        $ncurrent.addClass('current');
 
-
        var ncurrentindex = $ncurrent.index();
 
-
if(  ncurrentindex=== 0) $current = $('#slides IMG:first');
 
-
        if(  ncurrentindex=== 1) $current = $('#slides IMG:eq(1)');
 
-
        if(  ncurrentindex=== 2) $current = $('#slides IMG:eq(2)');
 
-
        if(  ncurrentindex=== 3) $current = $('#slides IMG:last');
 
-
        $current.addClass('current');
 
-
 
-
});
 
}
}
Line 58: Line 56:
</script>
</script>
-
<!-- slide script ends here -->
+
 
-
<!--end slide scripts -->  
+
</script>
 +
 
 +
</script>
 +
<!-- end slide scripts -->
Line 93: Line 94:
#twitter {float:right; width:220px; height:300px; margin-top: 5px;}
#twitter {float:right; width:220px; height:300px; margin-top: 5px;}
-
 
-
#projectbox {float:right; width:220px; height:300px; margin-top: 5px;}
 
</style>
</style>
-
 
</head>
</head>

Revision as of 23:27, 27 August 2013