Difference between revisions of "Template:2016Bottom"

Line 45: Line 45:
 
var y= $(document).height();
 
var y= $(document).height();
 
var x= $( document ).width();
 
var x= $( document ).width();
var z = $(document).height();
+
 
z = z/2
+
  
 
$(".pop_why").click(function() { //IF A POP WHY IS CLICKED
 
$(".pop_why").click(function() { //IF A POP WHY IS CLICKED
 
 
alert ( $(this).offset().top);
+
var z = $(this).offset().top;
  
 
which_why = "https://2016.igem.org/HQ:Why"+" " + "#" +which_why;
 
which_why = "https://2016.igem.org/HQ:Why"+" " + "#" +which_why;

Revision as of 15:00, 15 December 2015