Template:UC Chile4

From 2012.igem.org

(Difference between revisions)
Line 38: Line 38:
</script>
</script>
-
 
+
<script>
-
<script>  
+
$(document).ready(function() {
-
+
    $("sup").click(function () {
-
    $(document).ready(function() {  
+
      if ($(this).html().substr(0,1)=="[")
-
         $('ul.sf-menu').superfish({  
+
      {
-
         });  
+
         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)=="[") $(this).css('cursor', 'pointer');
 +
     });
 +
});
</script>
</script>
 +
 +
</head>
</head>

Revision as of 04:17, 5 September 2012

Cyanolux & SpiderColi - Pontificia Universidad Católica de Chile, iGEM 2012