OK.. Im not familiar with your method.. however there is a free web calendar u can download..
in this calendar.zip file there is a folder called "calendar" and inside calendar there is a folder called "datepicker". The datepicker folder holds the popcalendar which is a js
).. copy the entire datepicker folder to where ever you are hosting your page. (put it in the root directory).
To use the calendar.. simply locate where you want the calendar to go (by an input box)...
From an ASP page:
<td width="550" colspan = "11">
<input type="text" name="InputBoxName" value = "" readonly="readonly" size = "30">
response.write "<IMG SRC='datepicker/datepicker.gif' VALUE=PICK onClick=""popUpCalendar(this, InputBoxName, 'mm/dd/yyyy')"">"
the only thing else you MAY need to change is the image directory in the popcalendar.js
If your images do not popup correctly.. open the .js
file, look around line 28 for "var imgDir = 'calendar/datepicker/'; this will need to be changed to 'datepicker/datepicker/' since u are removing the datepicker folder from the calendar folder.
Hope that's not too complicated sounding. Its really just a matter of downloading.. copying the folder.. and adding those 2 or 3 lines of code to your coding.