HTML beginner |
|
<script>
function mouseover() {
alert('Why are you putting your cursor here?');
alert('I did not say you could!');
alert('I think you should e-mail me and say your sorry!');
alert('Yeah you better do it before i get mad!!!');
alert('oh wait, i guess i did say you should put your cursor here.');
alert('ah well, just send me a message !');
document.bgColor='black';
document.fgColor='White';
window.location.href='mailto:david.vandriessche@telenet.be?subject=I am sorry!';
}
</script>
<script> function mouseover() { alert('Why are you putting your cursor here?'); alert('I did not say you could!'); alert('I think you should e-mail me and say your sorry!'); alert('Yeah you better do it before i get mad!!!'); alert('oh wait, i guess i did say you should put your cursor here.'); alert('ah well, just send me a message !'); document.bgColor='black'; document.fgColor='White'; window.location.href='mailto:david.vandriessche@telenet.be?subject=I am sorry!'; } </script>
Als je alleen bij klik wilt, moet je onClick gebruiken.. |