I use DIV tags with onMouseOver action on the DIV-s. I want to download and show a photo if an onMouseOver activates. This is simple and works but there is a problem.
First time I move my mouse cursor on the DIV the photo doesn't appear, only its border. When I move the mouse off and back again, the photo appears right. I want to show the photo first time well.
The testpage with only five photos: http://teszt8.elin.hu/proba/
The problem when I move the mouse cursor on a DIV first time: http://teszt8.elin.hu/proba/hiba.jpg (Only the border appears, the photo doesn't.)
After the browser downloads the photos it works well for some minutes or for the next browser restart. I've tried with IE8 and Firefox 3.6.8, works bad with both.
Please help, what's the solution?