Team:Lethbridge Entrepreneurs/display change.js

From 2013.igem.org

Revision as of 21:17, 28 October 2013 by Grewal.amrinder (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

function DisplayNone(objects){ for(var i = 0; i < objects.length; ++i) S(objects[i].parentNode).display = "none" }

function DisplaySelected(id, displayNoneArray){ DisplayNone(displayNoneArray)

S(id).display = "block" S(id).height = height }