Click the effect of graying the entire page (can be used as an exit effect).
Note: The page header must be added
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:///TR/xhtml1/DTD/">
Otherwise the effect will not be achieved
<a href="#" onclick='return log_out()'>Safe Exit</a>
<script language="JavaScript">
<!--
function log_out()
{
ht = ("html");
ht[0]. = "progid:(grayscale=1)";
if (confirm('Are you sure you want to exit management?'))
{
="";
}
else
{
ht[0]. = "";
return false;
}
}
-->
</script>
Note: The page header must be added
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:///TR/xhtml1/DTD/">
Otherwise the effect will not be achieved
<a href="#" onclick='return log_out()'>Safe Exit</a>
<script language="JavaScript">
<!--
function log_out()
{
ht = ("html");
ht[0]. = "progid:(grayscale=1)";
if (confirm('Are you sure you want to exit management?'))
{
="";
}
else
{
ht[0]. = "";
return false;
}
}
-->
</script>