PHP interesse |
|
probeer hier eens iets mee:
<html>
<head>
<script>
function veranderdiv(divID, afbeeldingSRC) {
var div = document.getElementById(divID);
div.innerHTML='<img src="'+afbeeldingSRC+'">';
}
</script>
</head>
<body>
<span onMouseOver="veranderdiv('divje', 'http://files.dsound.nl/img/ie.jpg')" style="cursor: pointer;">
ie.jpg [mouseOver]
</span>
<span onMouseOut="veranderdiv('divje', 'http://files.dsound.nl/img/rabbit.gif')" style="cursor: pointer;" style="cursor: pointer;">
rabbit.gif [mouseOut]
</span>
<span onClick="veranderdiv('divje', 'http://files.dsound.nl/img/bt.png')" style="cursor: pointer;">
bt.png [click]
</span>
<hr>
<div id="divje"></div>
</body>
</html>
<html> <head> <script> function veranderdiv(divID, afbeeldingSRC) { var div = document.getElementById(divID); div.innerHTML='<img src="'+afbeeldingSRC+'">'; } </script> </head> <body> <span onMouseOver="veranderdiv('divje', 'http://files.dsound.nl/img/ie.jpg')" style="cursor: pointer;"> ie.jpg [mouseOver] </span> <span onMouseOut="veranderdiv('divje', 'http://files.dsound.nl/img/rabbit.gif')" style="cursor: pointer;" style="cursor: pointer;"> rabbit.gif [mouseOut] </span> <span onClick="veranderdiv('divje', 'http://files.dsound.nl/img/bt.png')" style="cursor: pointer;"> bt.png [click] </span> <hr> <div id="divje"></div> </body> </html>
|