redirects: Month of the Year

[Javascript]

Interested in displaying a different page on each month of the year? It is possible to this with twelve HTML documents and four lines of Javascript code.

See How It Works:

Month of the Year Redirect Example

What You Will Need:

  • One HTML document containing the Javascript code (this will be the “redirect” page which makes it all work);

  • Twelve HTML documents named after the days of the month (january.html, february.html, march.html, april.html, may.html, etc.).

 

The Code:
Copy and paste the following code inside the <head> tag of your redirect document:

 

Back to Redirects menu.