Text will nicht blinken
mdkiller
- javascript
Hallo Forum!
Warum blinkt der Text nicht (weder IE 5.5 noch Firebird)? Es kommen auch keine Fehlermeldungen, der Text wird einfach nur angezeigt. Unser Marketingleiter will, dass der Text blinkt, also muss er blinken!
Hier der Code:
<html>
<head>
<title>BLINKY</title>
<script type="text/javascript">
function blinky2()
{
document.getElementById("blinky").style.visibility="visible";
window.setTimeout("blinky()", 250);
}
function blinky()
{
document.getElementById("blinky").style.visibiliy="hidden";
window.setTimeout("blinky2()", 250);
}
</script>
</head>
<body onLoad="blinky();">
<p id="blinky">BLINKY</p>
</body>
Wo liegt mein Denkfehler?
Gruß
mdkiller
Hi,
Vielleicht weil man visibility mit t schreibt? ;)
Kann passieren...
Grüße
function blinky()
{document.getElementById("blinky").style.visibiliy="hidden";
window.setTimeout("blinky2()", 250);}
Hi!
Danke!
Passt zu:[pref:t=60651&m=341175]!
Gruß
mdkiller