Click to See Complete Forum and Search --> : Need script to change banners by date
KeithP
01-19-2003, 05:55 PM
I'm looking for a script that will display a banner based on a date range. ie; one banner for the first part of Feb, another banner for the end of Feb, and so on. The banner can be a graghic or an include page. FrontPage has the option but apparently it only works if you're running on a server with FrontPage extensions enabled.
Thanks
KeithP
01-19-2003, 11:39 PM
I've seen a few scripts like that. But it just displays text and only on one day. I'd like to be able to specify a date range and I'd like to have it display a file. (graghic or include page) I'm not sure how to modify code like this to make that happen. Any ideas?
KeithP
01-21-2003, 03:49 PM
Okay, I can get the sample code to run and display text based on the date. But I can't get a URL to display or graphic to display. Do you know the syntax to display a graphic from a variable in a script?
KeithP
01-22-2003, 12:01 AM
Thanks for your help. It's working great now.
One other question that may not be a javascript question but is part of this project. Is there a way to use another html file as the banner instead of a gif? For example, here's a file I'd like to include as a date scheduled banner.
http://www.thornydalell.org/tll/includereg.htm
Is there a way to use a link like this for the banner instead of a gif?