Changing page by date

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Larry Jaques

    #1

    Changing page by date

    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 "Profession al Javascript"


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

  • kaeli

    #2
    Re: Changing page by date

    In article <tr8sp09p6h5jg8 qnf2fnigneq6v6o 0mgsj@4ax.com>, Larry Jaques
    <novalidaddress @di\/ersify.com> enlightened us with...[color=blue]
    > 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.
    >[/color]

    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?

    --
    --
    ~kaeli~
    Local Area Network in Australia:... the LAN down under.



    Comment

    Working...