Javascript image change causes embeded UserControls to flicker

Posted by Sam Barham on Stack Overflow See other posts from Stack Overflow or by Sam Barham
Published on 2009-05-15T04:16:13Z Indexed on 2010/06/03 19:04 UTC
Read the original article Hit count: 310

Filed under:
|
|
|

I have a n html page being displayed in IE. It has some buttons made up of images with mouseover/mouseout events on them in JavaScript, and a bunch of embedded .Net UserControls.

When the mouseover/mouseout events fire, I change the images src to something else (simple rollover effect). The problem is that the UserControls often (but not always) flicker when this happens.

To be clear, the images don't flicker, and the rest of the page doesn't flicker, just the embedded controls. This page is local, not coming from a server or anything.

So, any ideas?

More information : I've noticed that highlighting text does it too...

© Stack Overflow or respective owner

Related posts about .NET

Related posts about JavaScript