Hello,
I am a 2-day old Javascript developer :-) and I have a problem. I am trying to do examples I find on net about using onmouse events. I found a javascript that generates flying objects, and I wanted to be able when I point my mouse on any of them to replace it with another picture.
It is pretty straight forward to do that in html coding as I found out these days, but when I tried to use a onmouseover event in the javascript that creates the flying objects it does not work. Nothing happens.
So I have a for loop in the javascript which is actually calculating the next position of each of the images that have been defined.
I try to use onmouseover at that point of the code, using the document.images[numberoffigure].src to change to another picture. But it does not work.
Can someone advice me a bit?
Is the onmouseover working only on the html code? Note in javascripts? And one more question, I saw a onmouseover event under document.images[numberofimage] I tried to use that as well but nothing was happening.
I have the feeling I am asking something silly here, but if you can help me out to get started knowing what is going on. I know I have to read some books first and some very interesting sites but I stil do not know how ot use the onmouseover from within a javascript that generates moving objects (images).
Thank you all
Rigas