Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Rotating Background Image on Index
Old 02-17-2009, 08:26 PM Rotating Background Image on Index
Average Talker

Posts: 21
Name: Robert Culos
Trades: 0
Hi all -

Sorry if this has been brought up before, I'm new.

I want to mimic this website: www.nbstudio.co.uk.

I would like a rotating background image on every page refresh on the index page.

Can this be done in html/dreamweaver? And how?

Thank you much!
RC

Last edited by rmculos; 02-17-2009 at 08:58 PM..
rmculos is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-17-2009, 10:32 PM Re: Rotating Background Image on Index
Novice Talker

Posts: 7
Name: Mike
Trades: 0
Thats pretty easy to do in in Dreamweaver i believe......Just go into Photoshop and if you have all the images you want for the backgrounds
-In Photoshop make all the background images you want to use same size (the size you want to fill the webpage bg)
-Then in Dreamweaver match each webpage size to the size of the photoshop images you just made
-Make a new page for each background image and simply set the images to the background for each page under page properties.


Sorry if this sounds a little confusing but I hope it helps a little
Mattmt47 is offline
Reply With Quote
View Public Profile
 
Old 02-17-2009, 10:40 PM Re: Rotating Background Image on Index
johniman7's Avatar
President, JLI Media

Posts: 965
Name: John Irving
Trades: 0
To actually rotate them you could do a number of things but would require some PHP. The simplest possible thing I could think of (although I don't know enough code to give you the exact code, but someone here should be able to make this system for you no problem) is to have an onpage bit of CSS controlling the BG image. At the bottom of your page a small PHP script that will change the variable to the next url from a list of urls in a text file, or better yet from a database.
__________________
Cheers, John Irving: My Blog
JLI Media:
Please login or register to view this content. Registration is FREE
| Website Development (Link Coming Soon!)
johniman7 is offline
Reply With Quote
View Public Profile Visit johniman7's homepage!
 
Old 02-18-2009, 12:14 AM Re: Rotating Background Image on Index
d00k's Avatar
Novice Talker

Posts: 12
Trades: 0
Here is a simple rotate.php script that should work:

http://www.alistapart.com/d/randomizer/rotate.txt

...all you need do is save it and upload it to same folder as your background image. If you prefer to run the file from a different location you'll need to adjust the $folder = '.'; path.
__________________

Please login or register to view this content. Registration is FREE
: Your online Family Friendly Support Forum discussing issues from child through adult.
d00k is offline
Reply With Quote
View Public Profile Visit d00k's homepage!
 
Old 02-18-2009, 10:42 AM Re: Rotating Background Image on Index
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
you could do a number of things but would require some PHP
To be fair, PHP is NOT the only solution. This same thing could be done with javascript or other scripting language, including .Net.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 02-18-2009, 02:27 PM Re: Rotating Background Image on Index
Average Talker

Posts: 21
Name: Robert Culos
Trades: 0
Like what, Ladynred?

I am unfamiliar with PHP anyway.

Thanks all!
rmculos is offline
Reply With Quote
View Public Profile
 
Old 02-19-2009, 04:51 AM Re: Rotating Background Image on Index
Junior Talker

Posts: 2
Name: Khaliq uz zaman
Trades: 0
Its very easy in javascript if you have a little bit Knowledge of Scripting languages.Check this link
http://javascript.internet.com/misce...e-rotator.html
Brilliant_view is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Rotating Background Image on Index
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.33307 seconds with 12 queries