Return to Snippet

Revision: 724
at August 2, 2006 10:45 by nicolaspar


Initial Code
function alertar()
{
	ht = document.getElementsByTagName('html');
	ht[0].style.filter = 'progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)';
	if (confirm('¿Aca la pregunta?'))
	{
		return true;
	}
	else
	{
		ht[0].style.filter = '';
		return false;
	}
}
//llamar usando un return delante, ej: onclick='return alertar()'

Initial URL

                                

Initial Description

                                

Initial Title
JavaScript - Pantalla en blanco y negro.

Initial Tags

                                

Initial Language
PHP