flickering issue

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)

The Reddest
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.

reply

The Fattest
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.

reply

The Reddest
04/15/2010 - 12:51

This is a much better solution. We've even got a tutorial covering how to do it.

reply

Add Comment

Put code snippets inside language tags:
[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.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.