Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-05-2006, 03:02 AM   #1
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
link of the hour javascript---anyone got one?

i want to rotate through a list of URLS and have it change every hour.

anyone know an off-the-shelf javascript that does this.

with a description such as, click here for featured model of the hour.

thanks.
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2006, 03:12 AM   #2
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
heres a simple php method

http://clarksco.com/blog/?p=10%20Quote
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2006, 04:07 AM   #3
latinasojourn
Confirmed User
 
Join Date: Oct 2003
Posts: 3,191
Quote:
Originally Posted by SmokeyTheBear
heres a simple php method

http://clarksco.com/blog/?p=10%20Quote
looks good smokey, but i need javascript version.

that's the idea i'm looking for though. thanks!
latinasojourn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-05-2006, 06:49 AM   #4
mikeyddddd
Viva la vulva!
 
mikeyddddd's Avatar
 
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
Something like this:

var now = new Date(); var currentDate = now.getHours();
var hour_var = new Array(
"http://www.your-domain.com/url-1",
"http://www.your-domain.com/url-2",
"http://www.your-domain.com/url-3",
"http://www.your-domain.com/url-4",
"http://www.your-domain.com/url-5",
"http://www.your-domain.com/url-6",
"http://www.your-domain.com/url-7",
"http://www.your-domain.com/url-8",
"http://www.your-domain.com/url-9",
"http://www.your-domain.com/url-10",
"http://www.your-domain.com/url-11",
"http://www.your-domain.com/url-12",
"http://www.your-domain.com/url-13",
"http://www.your-domain.com/url-14",
"http://www.your-domain.com/url-15",
"http://www.your-domain.com/url-16",
"http://www.your-domain.com/url-17",
"http://www.your-domain.com/url-18",
"http://www.your-domain.com/url-19",
"http://www.your-domain.com/url-20",
"http://www.your-domain.com/url-21",
"http://www.your-domain.com/url-22",
"http://www.your-domain.com/url-23",
"http://www.your-domain.com/url-24");
document.write('<a href="' + hour_var[currentDate] + '">click here for featured model of the hour</a>');
mikeyddddd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.