Thankzz
Code: Selecteer alles
<html>
<head>
<script language="JavaScript">
<!--
var Text = 1;
function Textchange()
{
if(Text == 1)
{
Text = 2;
document.all.Text.filters.blendTrans.Apply();
document.all.Text.innerText = "Eerste tekst";
document.all.Text.filters.blendTrans.Play();
}
else
{
Text = 1;
document.all.Text.filters.blendTrans.Apply();
document.all.Text.innerText = "Tweede tekst";
document.all.Text.filters.blendTrans.Play();
}
}
//-->
</script>
</head>
<body>
<div id="Text" style="cursor:crosshair; width:200; height:20; font-size:12pt; filter:blendTrans(Duration=0.5)" onClick="Textchange()">Basistekst</div><p>
</body>
</html>
SeNsEi Ze0n: even code tags bij gevoegd