Hi folks,
mein Problem: Ich möchte für einen Text dynamisch die Font-Größe verändern. Bei MSIE kein Problem aber beim Navi???
Anscheinend ist fontSize nicht bekannt. Nachfolgend der Quelltext:
<html>
<head>
<title>Bewerbung</title>
<style type="text/css">
<!--
// -->
</style>
<script>
<!--
var i=0;
function flyin()
{
i++;
if (i<80)
{
if (document.all)
{
document.all.b1.style.fontSize=i;
}
else
{
document.layers[0].document.b1.fontSize=i;
}
window.setTimeout("flyin()",1.00);
}
}
//-->
</script>
</head>
<body bgcolor="Silver" onResize="history.go(0);">
<layer>
<div id="b1" style="font-size:17px;position:absolute; left:150; top:150 ;color:yellow;">B E W E R B U N G</div>
</layer>
<script>
<!--
flyin();
//-->
</script>
</body>
</html>
Hat jemand einen Tip???
Danke und Grüße
Thomas