![]() |
Image Rotating Script
I'm looking for a script that changes an image everyday for 1 year, or even 1 month would do. I have one now that changes an image daily for a week.
|
Cant you change the cron to do that?
|
Quote:
|
Quote:
POSTTTTTTTTT CODEEEEEEEEEEEE |
|
Quote:
|
Why not just do it using SSI??
|
i would suggest doing it via ssi or php. no need to run a script for something as simple as that. way quicker too
|
Quote:
|
You don't need a script, just an SSI.
Start here... http://www.freewebmasterhelp.com/tutorials/ssi/2 |
hotscripts.com has plenty of stuff.
|
Yep I would recommend hotscripts!! they have plenty of java, php scripts that would suite what your looking for!!
|
i will post it later.
|
Quote:
|
Quote:
john at buildporn dot com |
Here is a <a href=http://www.schlabo.com/info/potd/2.01/index.shtml"> free POTD script</a>
|
Here yah go Pete. SSI for a month of rotation for those
too lazy to even type. http://www.iamlazy.com/gfy/SSI.txt . |
Quote:
|
f u n c t i o n day_pic()
RightNow = new Date(); mo=RightNow.getMonth(); da=RightNow.getDate(); img="< i m g s r c ='pics/"+mo+"_"+da+".jpg'>"; return img; the html code < s c r i p t > day_pic()< / s c r i p t > ------------------------------------------------------------------------ that will do the trick. You need pics named 1_1.jpg for the pic of the first of januari and so on. |
|
All times are GMT -7. The time now is 05:43 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123