Is there any way to implement mouse hover on a label. I want to change the background color of a label when we mouse hover. I can see a rolloverImage property, but we do not want to use any image.
We have a label having some text and on mouse hover we need to change the background color of that label.
Please suggest any ideas for both smart and web client
that could become quite a performance penalty, especially in the webclient, because the code executes on the server, so the onmousehover/over must go first to the server to get the change and then back, so for a webclient this is really not doable.
jcompagner:
so the onmousehover/over must go first to the server to get the change and then back
We have a property rollOverImage , which does the same thing but only with an image. How is it working internally? Is it downloading the both the images and keeping it in client browser ?
that easy,that is just configurable and pushed to the client at once.
the problem is more when a script need to be executed it must go to the server, so thats not such a good option for a mouse move/hover/enter event.