Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 276: Line 276:
          
          
<script type="text/javascript">
<script type="text/javascript">
-
     
+
   
 +
var gallery_active_id = 0;
 +
 
$(function() {
$(function() {
     $(".selflink").parentsUntil($("#side_menu"), "li").children("ul").css("display","block");
     $(".selflink").parentsUntil($("#side_menu"), "li").children("ul").css("display","block");
 +
 +
});
 +
 +
$(function() {
 +
 +
      setTimeout(function(){}) ; 
 +
 +
$(".gallery").children
});
});
Line 287: Line 297:
$("#flags").children("img").css("cursor", "pointer");
$("#flags").children("img").css("cursor", "pointer");
$("#flags").children("img").css("cursor", "hand");
$("#flags").children("img").css("cursor", "hand");
 +
 +
$("#languages").children("div").css("display", "none"); $("#english").css("display", "block");
     var english = $("#flags").children("img")[0];
     var english = $("#flags").children("img")[0];

Revision as of 20:29, 3 October 2013