Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
 
(20 intermediate revisions not shown)
Line 1: Line 1:
-
function removeElements()
+
function removeElements() {
-
{
+
   $("#p-logo").hide();
-
   $("#p-logo").empty();
+
   $("#search-controls").hide();
-
   $("#search-controls").empty();
+
  $(".firstHeading").hide();
-
   $("#content").empty();
+
   $("#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();

});