|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
So Fucking Banned
Join Date: Jun 2002
Posts: 45
|
Helluva puzzle
I'm bout to lose my motherfucking mind. I can't figure out how to get this script to actually randomize, I think it's in the IF/ELSE portion, but I'm not sure. It only switches the image every 10-12 reloads. If anyone is proficient in Javascript PLEASE help me out. BTW, i'm doing it in notepad before you say the prob is using a WYSIWYG editor. Here it is:
i=0; var ads = new Object(); var header=''; ads[i++] = header ads[i++] = header ads.length = i; dat = new Date(); dat = (dat.getTime()+"").charAt(1); if (dat.length == 1) ad_num = dat%ads.length; else ad_num = 2; document.write(ads[ad_num]); ![]() |
|
|
|