PDA

View Full Version : Fade Behaviour - Image flashes on then off prior to fading in


hennyh
07-04-2011, 10:24 AM
Using Dreamweaver CS3 I have added fade in behaviour.
Why does the image flash on briefly prior to fading in slowly.
How do I fix this as it looks a bit odd and ruins the effect.

Corrosive
07-04-2011, 11:15 AM
DW Behaviours aren't great in my experience. You could try pre-loading the image or look for a jquery alternative.

hennyh
07-05-2011, 12:03 PM
Thanks, I have tried preloading but to no avail...

domedia
07-05-2011, 12:54 PM
The issue is that the image is visible for the JavaScript starts. Dont' show it while it loads. Display: none or similar.

hennyh
07-05-2011, 04:26 PM
Thanks, if I alter display to none it totally disappears...If I alter visibility to hidden then it works - However, the i image then disappears after a few seconds....What am I doing incorrectly?!