In response to the message by TubaDave posted on March 15, 2002 03:05 PM.
Any idea why when I paste that code into my default.html file the calendar page comes up blank? If I paste only the following, the drop down appears but of course doesn't work.
<...>
<select name="month" onchange="changeMonths(this.form)">
<option value=0><%= $LAST_YEAR %></option>
<%= &HTML::monthAbbreviationOptions($TODAY_MONTH) %>
<option value=13><%= $NEXT_YEAR %></option>
</select>
<...>
It is when I paste the following that the calendar page appears completely blank.
<...>
<script language="javascript">
function changeMonths (theform)
{
if(theform.month == 0) {
window.location.href = "<%= LAST YEAR LINK %>";
}
if(theform.month == 13) {
window.location.href = "<%= NEXT YEAR LINK %>";
}
window.location.href = "<%=CGI_URL_QUERYSTRING%>" + theform.month;
}
</script>
<...>
Thanks,
Ty
------------------