login  Naam:   Wachtwoord: 
Registreer je!
 Forum

mouseover

Offline David_VD - 29/03/2005 20:28
Avatar van David_VDLid kan iemand mij helpen? ik heb een scriptje gemaakt, maar ik krijg commentaar dat de onmouseover niet goed is. als je verkeerd beweegt op de site dat het mouseover dingske aanschiet. ik wil dit nu veranderen, maar weet niet wat te doen. hoe noemt die commando dat het gewoon is door er op te klikken?

dit is het scriptje

<p>
<LEFT>
<a href="" onMouseover="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!';"><font color="#ffff00">vindt je iets niet goed? klik hier!<font></a>
</LEFT>
</p>

kan iemand mij helpen?
david

6 antwoorden

Gesponsorde links
Offline tjerkie - 29/03/2005 20:32
Avatar van tjerkie HTML interesse je moet er ff een functie van make
Offline David_VD - 29/03/2005 20:36
Avatar van David_VD Lid en hoe doe je dat? ik heb dit geschreven met veel hulp dus veel weet ik er nog nie van:(
Offline flAming - 29/03/2005 20:49 (laatste wijziging 29/03/2005 20:49)
Avatar van flAming HTML beginner
  1. <script>
  2. function mouseover() {
  3. alert('Why are you putting your cursor here?');
  4. alert('I did not say you could!');
  5. alert('I think you should e-mail me and say your sorry!');
  6. alert('Yeah you better do it before i get mad!!!');
  7. alert('oh wait, i guess i did say you should put your cursor here.');
  8. alert('ah well, just send me a message !');
  9. document.bgColor='black';
  10. document.fgColor='White';
  11. window.location.href='mailto:david.vandriessche@telenet.be?subject=I am sorry!';
  12. }
  13. </script>


Als je alleen bij klik wilt, moet je onClick gebruiken..
Offline David_VD - 29/03/2005 20:54
Avatar van David_VD Lid ok, bedankt
Offline CelestialCelebi - 29/03/2005 22:24 (laatste wijziging 29/03/2005 22:27)
Avatar van CelestialCelebi PHP gevorderde <p>
<LEFT>
<a href="" onMouseover="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';document.location.href='mailto:david.vandriessche@telenet.be?subject=I am sorry!';"><font color="#ffff00">vindt je iets niet goed? klik hier!<font></a>
</LEFT>
</p>

Alles achter elkaar zetten dus. Btw, <LEFT> bestaat niet.
Offline nathanael - 29/03/2005 22:54
Avatar van nathanael Gouden medaille

HTML gevorderde
De font-tag wordt in de op 2 na laatste regel niet gesloten, niet dat heel erg is... maar het is wel beter 
Gesponsorde links
Dit onderwerp is gesloten.
Actieve forumberichten
© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.174s