Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Rotating Banner HTML CSS

    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

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,456
    Thanks
    8
    Thanked 1,084 Times in 1,075 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,456
    Thanks
    8
    Thanked 1,084 Times in 1,075 Posts
    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?

  • #5
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I dont think its necessary just something they wanted. Can it be done with a rollover or any other easier way??


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •