Page 1 of 1
Cycle background image?
Posted: Mon Aug 14, 2006 7:58 pm
by dirtywhitellama
Is it possible to set it up so that each time the page loads it selects a different image (from a selection) for a background on a given element? (in this case a header). Say you load the page one time and it shows a header image with the page title and a duck splashing in the background (text being part of the image). Then you load the page again (or navigate to a different page on the site) and it has the title image but with flowers behind it, and so on.
Does this make sense? Is it possible?
Re: Cycle background image?
Posted: Mon Aug 14, 2006 9:54 pm
by Dr.CSS
Check the forge for banner module, sounds like it does just that, only changes when you refresh page or go to diff. page, it will not cycle img.s while staying on the same page like a timed one might.
Re: Cycle background image?
Posted: Mon Aug 14, 2006 10:21 pm
by dirtywhitellama
Thats what I want anyway, cycling on refresh. Thanks for the tip I will check it out!
Re: Cycle background image?
Posted: Mon Aug 14, 2006 11:51 pm
by dirtywhitellama
Well it seems to mostly be working internally, I just can't figure out how to replace the default CMSMS header with it. Putting it in the CSS didn't work, commenting out the css and putting it in the template instead of the selflink doesn't seem to work either.

I feel like I'm missing something, but I did put in some banners to test with and put the right cagetory name on my tag on the page... I cant tell whether or where I can specify a category for banners if I only have one category though.
Re: Cycle background image?
Posted: Tue Aug 15, 2006 12:59 pm
by Andor
Re: Cycle background image?
Posted: Tue Aug 15, 2006 4:56 pm
by dirtywhitellama
Great, perfect. Thanks a lot! That does exactly what I need with no extra fuss
