0

I do not want to use a static image as a background. Instead I want to be able to use different images through out the website. How do I accomplish that in CSS?

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Arkinder
0

You can't with CSS alone. Look into JavaScript or jQuery (a JavaScript library).

Regards, Arkinder

0

You can't with CSS alone. Look into JavaScript or jQuery (a JavaScript library).

Regards, Arkinder

Hi Arkinder,

Thanks for the prompt reply. Actually, I did find a javascript code to create rotating images. However, It was to create a rotating image in a new empty page not one with the lay out and everything else I already had. In other words, I'd have to create a brand new page and then I would be able to use that script on the header sections. Perhaps I was missing something or made a mistake but that was of no use.

Now, I don't understand how would I accomplish that if my CSS file is linked to every singe page for different commands? Would the script not read the CSS file?

Thanks in advance for your help :)

BelgianQueen

0

JavaScript isn't really my thing, so to be honest I don't know. However, I think a variation of this on a larger scale is what you're looking for.

Regards, Arkinder

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.