Team:Dundee/cleanPage.js

From 2011.igem.org

(Difference between revisions)
Line 6: Line 6:
function cleanStyles() {
function cleanStyles() {
-
   $("#top-section).css("height", 0);
+
   $("#top-section).css("height", "0");
}
}

Revision as of 14:25, 27 May 2011

function removeElements() {

 $("#p-logo").empty();
 $("#search-controls").empty();
 $(".firstHeading").empty();

}

function cleanStyles() {

 $("#top-section).css("height", "0");

}

$(document).ready(function () {

 removeElements();
 cleanStyles();

});