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

07-04-2011, 11: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.

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

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

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

07-05-2011, 05: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?!