Professor PREGUIÇA Nuno


Team : REGAL
Invited by : Marc SHAPIRO
Arrival date : 01/01/2011
Departure date : 07/17/2011
function showhidediv(id) { if (document.getElementById) { // DOM3 = IE5, NS6 if (document.getElementById(id).style.display == 'none') document.getElementById(id).style.display = 'block'; else document.getElementById(id).style.display = 'none'; } else { if (document.layers) { // Netscape 4 if (document.id.display == 'none') document.id.display = 'block'; else document.id.display = 'none'; } else { // IE 4 if (document.all.id.style.display == 'none') document.all.id.style.display = 'block'; else document.all.id.style.display = 'none'; } } } // https://csp.withgoogle.com/docs/adopting-csp.html document.addEventListener('DOMContentLoaded', function () { document.getElementById('show_doctors') .addEventListener('click', function doThings() { showhidediv("docteurs"); }); });