Specials | Announcements | Contact | Site Map
Willmaster.com
Hijack-proof forms. Surveys. List building.

Solid, safe website tools.

Whatever your need, Will Bontrager builds powerful software solutions.

Affiliate Cookie Setter
Search WillMaster.com:

WillMaster > Support > CGI Q&A

If you don't find the answer to your question in these archives, ask your CGI question at the Current Master Series CGI Forum.

Awesome Javasript Analysis:Changing the background & rotating differently Banners every day

Author Message
28Feb02

yesidol
Subject: Awesome Javasript Analysis:Changing the background & rotating differently Banners every day

Belows Javacript is the fourm index of http://forums.winglin.net/kenixkwok I see the background and the banners every day can automatcily change, but I do not really understand how exaclty belwos script works in order to to let background and teh banners every day can automatcily change, instead of manual change

**their backorund is based on
http://forums.winglin.net/kenixkwok/pictures/bg_1.jpg
http://forums.winglin.net/kenixkwok/pictures/bg_2.jpg
...

***their banners is is based on
http://forums.winglin.net/kenixkwok pictures/banner_1.jpg
http://forums.winglin.net/kenixkwok pictures/banner_2.jpg
.....

I also want to achive:" teh index page automtcilly change the Backround pix and teh banners pix is auto rotating every 4 banners like them, that is too awesome...(^_^)

i see this line :var interval = 5;
var base_URL = "pictures/banner_";
var banners = [42, 41, 'a', 30]; // substitute this line

is abvoe 42, 41, 'a', 30 is automatcilly created by the javascript??

how exactly belwos, can u give me soem explanation I donto understand at all

Does the 2 scheme define is 2 style that automactilly change every day?

-------original javascript------





Kenix Kwok Internet Fan Club Forum


郭可盈大本營討論板 (Chinese Forum)


Hong Kong Stars Discussion Forums



Kenix Websites by:   
Che |
David |
Hann |
Jacqueline |
Kato |
Kennis |
Kristy |
tc |
zeezap

2Mar02

Will
In response to: Awesome Javasript Analysis:Changing the background & rotating differently Banners every day

Yesidol, this is a CGI forum. Although JavaScript and CGI sometimes work together, discussing standalong JavaScript programs does not fit within the forum's niche.

I believe http://greatforums.com/ has a forum for JavaScript.

2Mar02

yesidol
In response to: Awesome Javasript Analysis:Changing the background & rotating differently Banners every day

Thx for let me knwo the greaforums.com Wow, that is a great name I am post messege now, thx will!!!