The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

image change at certain time of day

im not sure if this would be done in javascript but im just assuming...here's what i need....i am doing a site for a radio station and there will be a little section that says "on air now" and it will have a picture of the DJ that is currently on the air. what i need is for the picture to change according to the time they are on the air...ie. Kris' picture would be up from 9am - 11am
Scotts picture would be up from 11am - 2pm
etc. etc.

so i need those pictures to change at that time of the day... can anybody point me in the right direction?!?!

rriiggghttt

if coming up with "loads of good stuff" includes 800 # services, high school message boards, and stock trade info then alright...but thats not good stuff in my book....in the first 3 pages there was ONE page that had anything to do w/ what i was lookin for...and i sorta found what i was lookin for but not exactly...so don't say "try google before here" when google doesn't really have what im lookin for....

Always try google and get the latest.....

Always try your search with Google first.
It is VERY good for website tutorials, if you define your searches, and it will show you new syntax that may have only just been created or made cross browser.

putting '.' inbetween words makes google look for exact phrase

so 'time.of.day javascript' will look for documents containing the exact phrase 'time of day' and include the word javascript.

Eg getElementById has only just been made to work cross browser, and only the people looking for a function will find that out. People who hve been programming for a long period have a set way of doing things, so do not need to search. Therefor they might not learn new syntax.

I recommend that the parts of your program that seem long winded, repeat your searches in the future, things are always getting condensed!! I now use a very good function for sound, but it took me a year to find!!!

And have fun...... If your gonna be staring at the screen for ages make it fun!!!