Changing page by date

L

Larry Jaques

I scanned the last 500 messages and didn't see anything like
I'm trying to do so I ask you guys for your help, please.

I want to change a lady's logo block/page layout by date and
she doesn't want to change from a .html page suffix for fear
of losing customers and search engine status.

The current look is logo at top left, animation in the middle,
and a picture of one of her baskets on the right, which is hotlinked
to that page. I want to change the callout for the animation file,
the basket file, and the link for the basket 6 times a year, before
holidays. The site is on a Linux server.

I've hacked a few Javascripts to use on pages before but haven't
programmed in it before. I'm wondering if a script for this function
exists or how I should go about writing one.

Should I make the changes on the day of the change, or have it scan
for a range of dates, inserting the proper code as it loads?

Essentially it would change a text block made up of two table cells.
"<td> (animation)</td><td> (hotlinked pic)</td>"

Is this as easy as a simple if/elseif statement?

Thanks for any pointers.

I have a couple old Javascript books for reference and don't see
anything specific for "change by date" in them. "Javascript: The
Definitive Guide, 3rd Edition" and "Professional Javascript"


-- Friends Don't Let Friends Eat Turkey and Drive --
 
K

kaeli

Larry Jaques said:
I want to change a lady's logo block/page layout by date and
she doesn't want to change from a .html page suffix for fear
of losing customers and search engine status.

The server can be told to parse .html as anything you like.
Mine processes .html files as SSI (.shtml).

Still need it to be javascript?

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top