Team:UCLondon/Templates/bottom-contentv2

From 2012e.igem.org

(Difference between revisions)
Line 355: Line 355:
     return false;
     return false;
}
}
 +
 +
var closeBox = function() {
 +
  $('#shadow').toggle('slow', function() {
 +
      $(this).children('#box-content').html(loading);
 +
  });
 +
}
 +
   
   
Line 362: Line 369:
$(document).ready(function(event) {
$(document).ready(function(event) {
   loading = $('#load').parent().html();
   loading = $('#load').parent().html();
 +
   $('body').off('click', '#close-box', closeBox);
   $('body').off('click', '#close-box', closeBox);

Revision as of 03:48, 19 September 2012