How to Show One <div> if Javascript Enabled and a Different <div> if It's Not?
问题 I'm using some Javascript to display a "photo fade rotator" in a <div> . If JS is not enabled, however, I've got an animated gif I want to display instead. I actually have it working with this code: <div id="slideshow" class="show pics float-left"> <img src="images/banner-photos/new-01.png" width="343" height="228" alt="photo" /> <img src="images/banner-photos/new-02.png" width="343" height="228" alt="photo" /> <img src="images/banner-photos/new-03.png" width="343" height="228" alt="photo" />