Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
Line 3: Line 3:
   $("#search-controls").empty();
   $("#search-controls").empty();
   $(".firstHeading").empty();
   $(".firstHeading").empty();
-
}
 
-
 
-
function cleanStyles() {
 
-
  $("#top-section).css("height", "0");
 
}
}
$(document).ready(function () {
$(document).ready(function () {
   removeElements();
   removeElements();
-
  cleanStyles();
 
});
});

Revision as of 14:35, 27 May 2011

function removeElements() {

 $("#top-section").empty();
 $("#search-controls").empty();
 $(".firstHeading").empty();

}

$(document).ready(function () {

 removeElements();

});