Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Calendar</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> dayInfo = new Array dayInfo[1] = "Canada Day" dayInfo[4] = "Independence Day\rEllen's birthday" dayInfo[11] = "Stan's birthday" dayInfo[16] = "Sheila's birthday" dayInfo[19] = "Web Design World '99" dayInfo[20] = "Macworld Expo\rWeb Design World '99" dayInfo[21] = "Our anniversary\rMacworld Expo\rWeb Design World '99" dayInfo[22] = "Sean's birthday\rMacworld Expo\rWeb Design World '99" dayInfo[23] = "Macworld Expo\rWeb Design World '99" function showInfo(thisDay) { document.calendar.dateInfo.value = dayInfo[thisDay] } </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE> <TABLE CELLSPACING=2 CELLPADDING=2 ALIGN=LEFT> <TR> <TH COLSPAN=7>July 1999</TH> <TD ROWSPAN=6> </TD> </TR> <TR ALIGN=RIGHT> <TD COLSPAN=5><A HREF="javascript:showInfo(1)">1</A></TD> <TD>2</TD> <TD>3</TD> </TR> <TR ALIGN=RIGHT> <TD><A HREF="javascript:showInfo(4)">4</A></TD> <TD>5</TD> <TD>6</TD> <TD>7</TD> <TD>8</TD> <TD>9</TD> <TD>10</TD> </TR> <TR ALIGN=RIGHT> <TD><A HREF="javascript:showInfo(11)">11</A></TD> <TD>12</TD> <TD>13</TD> <TD>14</TD> <TD>15</TD> <TD><A HREF="javascript:showInfo(16)">16</A></TD> <TD>17</TD> </TR> <TR ALIGN=RIGHT> <TD>18</TD> <TD><A HREF="javascript:showInfo(19)">19</A></TD> <TD><A HREF="javascript:showInfo(20)">20</A></TD> <TD><A HREF="javascript:showInfo(21)">21</A></TD> <TD><A HREF="javascript:showInfo(22)">22</A></TD> <TD><A HREF="javascript:showInfo(23)">23</A></TD> <TD>24</TD> </TR> <TR ALIGN=RIGHT> <TD>25</TD> <TD>26</TD> <TD>27</TD> <TD>28</TD> <TD>29</TD> <TD>30</TD> <TD>31</TD> </TR> </TABLE> <FORM NAME="calendar"> <TEXTAREA ROWS=7 COLS=20 NAME="dateInfo" READONLY WRAP> Click on any underlined day to see what's happening </TEXTAREA> </FORM> </BODY> </HTML>