javascript image change
javascript image change
- Started
- Last post
- 2 Responses
- phatrick
looking for a quick javascript to change an image based on the time of day (doesn't have to be server time, but can be local machine time). for instance, from 6am to 11:59am show "morning" graphic, 12:00pm to 5pm show "afternoon" graphic....and so on...i search google and get lots of missed hits...perhaps i'm querying the wrong thing....someone?
- st33d0
Step 1: Look up javascript time and date code
http://www.javascriptmall.com/js…
Step 2: Look up DHTML
http://www.cryer.co.uk/resources…
Step 3: You're on your own
- welded0
Ya, this is a pretty simple thing you want to do. It'll be a good learning exercise. ;)