Template:UC Chile4

From 2012.igem.org

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

Revision as of 04:25, 5 September 2012

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