Dear users,
I have an overlay image that is created in Javascript using the 'Createelement' function. Now I would like to know if I can attach a handler to the mouseover event using PHP?
Can you give an example pls?
The image appears only when hovering over the element below it.
Regards, T
UPDATE I want to handle the mouseover event of that element with PHP on server side. Just cause the whole site I'm editing is coded in PHP. The problem is that all HTML/CSS & JS is generated by PHP code of this site, so I'm thinking using PHP will be easier.
What will the effects of that be on the user though, speed etc?
UPDATE2: So the image that I want to add this handler to, only appears when the mouse is hovered over the image below. Now, when one then hovers over that hovering image, it flickers. I'm trying to suppress the 'mouseover' event of that hovering image so it doesn't reload when hovered over, and so stops flickering.