Nieuw lid |
|
<script language="javascript" type="text/javascript">
function steraan()
{
for(i=1;i<3;1++)
{
document.images[ster+i].src = ster.jpg;
}
}
function steruit()
{
for(i=1;i<3;1++)
{
document.images[ster+i].src = sterleeg.jpg;
}
}
</script>
<img src="images/zijkant2.png" width="10" height="20" />
<img src="images/starleeg.jpg" width="20" height="20" name="ster1" id="ster1" onmouseover="steraan('1')" onmouseout="steruit('1')"/>
<img id="ster2" src="images/starleeg.jpg" width="20" name="ster2" height="20" onmouseover="steraan('2')" onmouseout="steruit('2')"/>
<img src="images/starleeg.jpg" id="ster3" width="20" name="3" height="20" onmouseover="steraan('3')" onmouseout="steruit('3')"/>
<img src="images/zijkant.png" width="10" height="20" />
<a href="sdf" onmouseover="steraan()" onmouseout="steruit()">df</a>
<script language="javascript" type="text/javascript"> function steraan() { for(i=1;i<3;1++) { document.images[ster+i].src = ster.jpg; } } function steruit() { for(i=1;i<3;1++) { document.images[ster+i].src = sterleeg.jpg; } } </script> <img src="images/zijkant2.png" width="10" height="20" /> <img src="images/starleeg.jpg" width="20" height="20" name="ster1" id="ster1" onmouseover="steraan('1')" onmouseout="steruit('1')"/> <img id="ster2" src="images/starleeg.jpg" width="20" name="ster2" height="20" onmouseover="steraan('2')" onmouseout="steruit('2')"/> <img src="images/starleeg.jpg" id="ster3" width="20" name="3" height="20" onmouseover="steraan('3')" onmouseout="steruit('3')"/> <img src="images/zijkant.png" width="10" height="20" /> <a href="sdf" onmouseover="steraan()" onmouseout="steruit()">df</a>
hij geeft als fout not defined, wat doe ik fout?
alvast bedank!
edit:
opgelost:D
|