Team:Freiburg/Project/toolkit

From 2013.igem.org

(Difference between revisions)
m
Line 14: Line 14:
function Test(rad){
function Test(rad){
  var rads=document.getElementsByName(rad.name);
  var rads=document.getElementsByName(rad.name);
-
  document.getElementById('courier').style.display=(rads[1].checked||rads[3].checked)?'block':'none';
+
  document.getElementById('courier').style.display=(rads[1].checked||rads[3].checked)?'none':'block';
  document.getElementById('depot').style.display=(rads[1].checked||rads[3].checked)?'block':'none';
  document.getElementById('depot').style.display=(rads[1].checked||rads[3].checked)?'block':'none';
}
}

Revision as of 23:30, 17 September 2013


Select your courier:
Blah blah....Dropdown to come here

Select the closest depot for parcel drop-off: Blah blah....dropdown to come here