Hi,
I have functionality for animating a div to increase or decrease the width.
the issue is flickering on mouseover.(mouseover is set for image)
flickering issue |
Hi,
I have functionality for animating a div to increase or decrease the width.
the issue is flickering on mouseover.(mouseover is set for image)
04/13/2010 - 15:38
This is because your roll-over image hasn't been loaded until the first time the user rolls over the image. You should look into pre-loading the image. Here's a Google search that should get you started.
04/15/2010 - 11:17
Even easier if your using background images is to use a css sprite, this is where you put both images in a single image and use the background image offset to change the mouseover image.
04/15/2010 - 12:51
This is a much better solution. We've even got a tutorial covering how to do it.
Add Comment
[language] [/language]
Examples:
[javascript] [/javascript]
[actionscript] [/actionscript]
[csharp] [/csharp]
See here for supported languages.
Javascript must be enabled to submit anonymous comments - or you can login.