Return to Snippet

Revision: 2144
at January 4, 2007 10:13 by noname


Initial Code
function toggle(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != 'none' ) {
		el.style.display = 'none';
	} else {
		el.style.display = '';
	}
}

Initial URL


Initial Description


Initial Title
toogle objects' visibility

Initial Tags


Initial Language
PHP