I wrote a simple javascript image rotator that selects a random image each time the page loads. The problem is that if I use the default image, that default image will be displayed for a second before javascript loads and replaces it. Obviously, if someone turned off javascript, I want them to see the image. How can I get the default image without flickering the default image.
source
share