...

View Full Version : Rotating Banner HTML CSS



kelb1981
02-04-2010, 12:04 PM
Please be gentle I'm a newbie..

Making site just need some help my client wants the top blue image in the banner to change ie rotate a few different images could anyone please help me or help me with the code. I am stuck on this.

I am only new at making sites.

http://kellybucksey.com.au/relativenetworks2/

Thanks So much she is desperate for it so if any one could help that would be fantastic!

Kelly

mlseim
02-04-2010, 12:28 PM
Are you talking about "logo.jpg" or "bodyBg.jpg"?

Since your site already has an .html extension, you would use Javascripting
to call a PHP script ... otherwise, it would probably be better to use pure PHP.

I mention PHP for other reasons ... future CMS (content management) and
other dynamic features. But would you rather use Javascripting for the
swapping? And how should it swap ... randomly, by day, by week? What it the
criteria for swapping? And do you have other images in the same directory? Give
us the filenames for some of the othe images it will be swapping.

kelb1981
02-04-2010, 12:39 PM
It's the bodybg image and I would name them all the same just 1 , 2 , 3 on the end there will be 10 images total and would change say every 5 seconds or something not sure if that's possible.

Thanks so much for your reply.

mlseim
02-04-2010, 01:00 PM
The problem with changing those is that it would require a page refresh each time.
Possibly it could be done using Flash?

Some questions to ask them ...
What is their reasoning for changing the background?
What benefits would changing the background have on their business or website?
What affect would that have on the concentration of someone trying to read or view the content?
Is it really necessary? Will it increase their business, or create return visits?

kelb1981
02-04-2010, 01:05 PM
I dont think its necessary just something they wanted. Can it be done with a rollover or any other easier way??



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum