Template:Team:Waterloo/JS/baseWiki

From 2014.igem.org

(Difference between revisions)
Line 8: Line 8:
     $("ul#headings >li").css("display", "none");
     $("ul#headings >li").css("display", "none");
     $("ul#shortheadings >li").css("display", "block");
     $("ul#shortheadings >li").css("display", "block");
-
    //console.log("working");
 
   }
   }
   else {
   else {
Line 16: Line 15:
     allheadings.width(remainingWidth / (allheadings.length + 0.5))
     allheadings.width(remainingWidth / (allheadings.length + 0.5))
       .css({"text-align":"center","line-height":"150%"});
       .css({"text-align":"center","line-height":"150%"});
-
    //$("button").css("width", allheadings.width());
 
-
    console.log($(remainingWidth));
 
   }
   }
}
}

Revision as of 16:54, 5 October 2014