Dinarius = digital interest
4 December 2007

UberGeeks: Dinarius Needs You!

04DEC07 – Fifty web searches reveal nothing about how to make specific Images appear in a website on specific days. Directly, you know how the Google logo.gif changes with holidays? Well bless my cotton-pickin’ soul, couldn’t the rest of us do that somehow in an automated way? Now it’s a contest – find or generate a java script that allows users to enter a date, image and alt text for specific times to replace a standard image and alt text. It’s not impossible, it’s just really hard. We got started, beat us to the punch and win something that doesn’t involve paying taxes.

Really, fifty web searches and we found ONE partial answer that we tweeked to better answer the challenge. KREVEN wrote a nifty script that changes a picture on and AFTER the date entered. No alt text, no change back. So we changed the script to change an image only ON a specified day. If the date, or timeTest shows the date has passed, the original image is shown instead. Also nifty, but there’s no alt text change.

The code as we re-wrote it (actually, we just added a line) can be grabbed by viewing the source of this page. Face it; it’s a good idea for a billion reasons to be able to change images and alt tags based on what day it is. Imagine plugging in ALL of your appointments one day on your personal website – you’d never forget anything again.

Favorite's the ARTICLE, not the SITE.