Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/01/2005, 18:17
diegofff
 
Fecha de Ingreso: mayo-2003
Ubicación: Bogotá
Mensajes: 68
Antigüedad: 21 años
Puntos: 0
A continuación está el código de una página que hace lo que quiere. Este lo tome de la página de foros del web.

las claves son lo que esta en otro color.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML lang=ES dir=ltr>
<head>
<title>Documento sin t&iacute;tulo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


</head>

<body>
<SCRIPT type=text/javascript>
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(gray scale=1)";

if (confirm('¿En verdad quieres finalizar tu sesión?\n\nsi es así, presiona OK si no,\nentonces presiona el botón CANCEL'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</SCRIPT>

<p><A onclick="return log_out()"
href="#">Finalizar Sesión</A> </p>
<table width="560" border="1" cellpadding="0" cellspacing="0" bordercolor="#99CC66" bgcolor="#99CCCC">
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<p>&nbsp;</p>
<p><img src="800.jpg" width="800" height="600"> </p>

</body>
</html>
__________________
diegofff