Results 1 to 3 of 3
November 11th, 2009, 05:07 PM #1Help! Display Image Based on Date/File Name
I am working on an HTML page and I need something that changes the header based on the file name. I have done it before in ColdFusion but I totally forget and cannot figure it out.
Before how it worked as as such:
There was a <div> for the header. There was a default header called "header.jpg" in the /images folder
If I added a file called "header-01012009.jpg" then on January 1 2009 it would display that image (server time)
so "header-mmddyyyy.jpg" determined what displayed on that date.
Also, "header-02012009-02052009.jpg" would display that header from February 1-5, 2009
so "header-mmdd-yyyy-mmddyyyy.jpg" was used for date ranges.
Does anyone know how to do this with basic HTML or JS?
Thanks a ton!
November 12th, 2009, 06:37 PM #2
I just sent you a few emails... with code - ignore my spastic happy shortcut key fingers that seem to hit send before finishing what i'm doing lol.[URL=http://www.mypenguintravels.com][COLOR=DarkRed]Have you seen my penguin?[/COLOR][/URL]
[FONT=Tahoma]The Blog: [URL=http://www.jgoode.com][COLOR=Indigo]JGoode.com [/COLOR][/URL] | The Shop: [URL=http://www.jgoodedesigns.com][COLOR=Indigo]JGoode Designs [/COLOR][/URL]
[SIZE=1][B]Designer/Illustrator/Professional Doodler[/B] for [B]Apparel, Gifts, Decor & more...[/B][/SIZE] :artist:[/FONT]
November 13th, 2009, 08:43 AM #3
By Adam Ward in forum Rakuten LinkShare - LSReplies: 43Last Post: March 20th, 2008, 02:46 PM
By KirkhamsEbooks in forum Midnight Cafe'Replies: 4Last Post: December 14th, 2007, 10:41 AM
By Uncle Rico in forum Programming / Datafeeds / ToolsReplies: 3Last Post: August 4th, 2007, 04:06 PM
By apex-auctions in forum Programming / Datafeeds / ToolsReplies: 13Last Post: April 23rd, 2006, 02:32 PM
By Rodski in forum Commission Junction - CJReplies: 4Last Post: November 18th, 2005, 10:59 AM