Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
(Created page with "function removeElements() { $("#globalWrapper").remove(); } $(document).ready(function () { removeElements(); });")
 
(23 intermediate revisions not shown)
Line 1: Line 1:
-
function removeElements()
+
function removeElements() {
-
{
+
   $("#p-logo").hide();
-
   $("#globalWrapper").remove();
+
  $("#search-controls").hide();
 +
  $(".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();

});