Team:Imperial College London/Templates/Header

From 2011.igem.org

(Difference between revisions)
Line 22: Line 22:
<script>  
<script>  
   
   
-
$(document).ready(function() {
+
 
-
    $("sup").click(function () {
+
 
-
        if ($('.technology').length>0)
+
 
-
        {
+
 
-
            ddaccordion.expandone('technology', $('.technology').length-1)
+
 
-
            setTimeout("window.scrollBy(0,50000)",200)
+
 
-
        }
+
 
-
        else window.scrollBy(0,50000)
+
 
-
    });
+
 
-
    $("sup").mouseover(function () {
+
 
-
        if ($(this).html().substr(0,1)=="[") $("sup").css('cursor', 'pointer');
+
 
-
    });
+
-
});
+
     $(document).ready(function() {  
     $(document).ready(function() {  

Revision as of 23:58, 25 October 2011