Skip navigation
Currently Being Moderated

Monthly content changed each month script or code

Sep 27, 2011 5:46 PM

looking for code that will change web page content on a calendar date each month within a specified div or content area. Java or HTML5 code that will perform this.

 
Replies
  • Currently Being Moderated
    Sep 28, 2011 3:51 AM   in reply to aurios

    HTML has no facility for doing something like this.  The best approach would be to use server scripting.

     

    How do you want the content to change each month?  In other words what change would you like to be applied?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2013 12:01 PM   in reply to MurraySummers

    I have a Promotions page. Usually I change it at beginning of each month with new content. Since September starts on Sunday, is there a way to switch content to Septembers promotion automatically? Thanks.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2013 3:58 PM   in reply to memaat

    Sure. You could store the different content in a database and select the appropriate row based on the date. Or, use server side includes and conditional statement to select the correct file based on the current date. What server side scripting language are you familiar with?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2013 5:45 PM   in reply to memaat

    Another alternative (if you are on a Windows OS) is Auto FTP Manager

    It's commercial $49.95

     

    Heres's a video   http://www.deskshare.com/ftp-client.aspx

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 29, 2013 4:59 AM   in reply to bregent

    php. I like the select option you listed above. I'll try that. Thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points