<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title>Untitled</title>
<style type="text/css">
#Texte
{
display:iblock;
position:absolute;
background-color:red;
font-size:16pt;
width:100px;
left:500px;
top:500px;
color:blue;
visibility:visible;
}
</style>
<script type="text/javascript">
function Defilement(Texte)
{
alert(Texte);
var w=document.getElementById(Texte);
alert(w.style.visibility);
}
</script>
</head>
<body onload="Defilement('Texte1');">
<div id="Texte1">
coucou
</div>
</body>
</html>
Partager