I am building a site for a client who wants his right and left sidebars to contain rotating images (3 rotating on one side and 4 on the other). I have searched high and low and only found javascript to do this with...can it not be done in css?!?!? I am also using DW but the functionality for swap image only looks applicable to rollovers...not what I need. Does anyone have css code that can do this>? Thanks, grahixxangel
tangor
4:13 am on Jan 4, 2009 (gmt 0)
a random image ssi script will do what you want. Google for many examples.
Xapti
9:00 pm on Jan 4, 2009 (gmt 0)
If it's CYCLING images (or randomized), then yes an SSI script would be a good idea, almost always a better choice than to use javascript for that. And no CSS cannot do that.
If you want an image to physically rotate, there is no way CSS will do that. You will want to construct an animated GIF (only if it's a small image that uses less than 256 colors and simple design), or a flash file (SWF).