day of month redirection




JavaScript Source Code 3000: Navigation: Day of Month Redirection

































Day of Month Redirection








Or maybe you have a separate page for each day of the month. This script will detect what day of the month it is (1 31) and sends the user to [day of month].html (i.e. 1.html, 2.html, etc.)











JavaScript Source Code 3000: Navigation: Day of Month Redirection
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as NotePad or SimpleText) and save (Control-s or Apple-s). The script is yours!




    





<!-- ONE STEP TO INSTALL DAY OF MONTH REDIRECTION:

1. Paste the coding into the HEAD of your HTML document -->

<!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<! >
<! >

<!-- Begin
var today = new Date();
var day = today.getDate();
window.location = day + ".html";
// End -->
</SCRIPT>



<!-- Script Size: 0.62 KB -->










Wyszukiwarka

Podobne podstrony:
day of week redirection
M A Foster@Ler 03@The Day of the Klesh
Simak, Cliffard D Day of Truce
function mcal day of year
First Day of Forever
Dzień szakala (The Day of the Jackal)
function mcal day of year
Carnivale s01e11 The Day of the Dead
Wilhelm, Kate The Happiest Day of Her Life
Day of Reckoning
day of week
function mcal day of year
System Of A Down Lonely Day
Knight, Angela Vampire Dreams 04 That Time of the Month
Hero of the Day

więcej podobnych podstron