girish
girish

Reputation: 305

Slider image issues when Javascript Disabled

I have a Javascript slider. The slider uses 5-6 images and lines up parallel blocking the text when the javascript is turned off. I just want to display a single image when javascript is turned off. Could you please let me know how can this be done?

Upvotes: 0

Views: 114

Answers (1)

Matthias Tylkowski
Matthias Tylkowski

Reputation: 517

You could use CSS and put a class with display: none on the elements you don't want to display. With JavaScript you can remove that class then before initializing the slider.

Upvotes: 1

Related Questions