Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
 
(9 intermediate revisions not shown)
Line 1: Line 1:
function removeElements() {
function removeElements() {
-
   $("#top-section").hide();
+
   $("#p-logo").hide();
-
   $("#search-controls").empty();
+
   $("#search-controls").hide();
-
   $(".firstHeading").empty();
+
   $(".firstHeading").hide();
 +
  $("#contentSub").hide();
 +
  $("#catlinks").hide();
 +
  $("#footer-box").hide();
}
}

Latest revision as of 15:07, 27 May 2011

function removeElements() {

 $("#p-logo").hide();
 $("#search-controls").hide();
 $(".firstHeading").hide();
 $("#contentSub").hide();
 $("#catlinks").hide();
 $("#footer-box").hide();

}

$(document).ready(function () {

 removeElements();

});