Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
Line 4: Line 4:
   $(".firstHeading").hide();
   $(".firstHeading").hide();
   $("#contentSub").hide();
   $("#contentSub").hide();
-
   $("#catLinks").empty().hide();
+
   $("#catLinks").remove();
   $("#footer-box").hide();
   $("#footer-box").hide();
}
}

Revision as of 14:52, 27 May 2011

function removeElements() {

 $("#top-section").hide();
 $("#search-controls").hide();
 $(".firstHeading").hide();
 $("#contentSub").hide();
 $("#catLinks").remove();
 $("#footer-box").hide();

}

$(document).ready(function () {

 removeElements();

});