This script will rotate through an Array of 10 links/images
based when the PageLoads or the current time (dynamic).
This script will work on MSIE 4+ and Netscape 6+ browsers.
Time based link or image rotation - v1.0
Pageload: Thu Aug 14 2025 03:01:25 GMT+0000 (Coordinated Universal Time) Dynamic:
Range
Link changes every
Link
Images
Pageload
Dynamic
Pageload
Dynamic
60
Second of the minute
Link 6
60
Minute of the hour
Link 2
24
Hour of the day
Link 4
7
Day of the week
Link 5
28-31
Day of the month
Link 5
52
Week of the year
Link 3
12
Month of the year
Link 8
Every
1
2
4
5
10
Variable seconds
Dynamic only
Note: Weeks are Sunday-Saturday
More options and updates available at
www.PatrickLewis.net/javascript
.
Free JavaScripts provided
by
The JavaScript Source