
1. Copy date.asp and date.gif into a directory of your website.
2. Open a form in your website editor.
3. Create a link beside the form field that you want to use for date selection. You can use the image we have provided (date.gif) or you can make a simple text link such as "Get Date."
4. Edit the link properties that you created in step 3 to look like this:
<a href="path/date.asp?formname=YourFormName&fieldname=YourDateFieldName" onclick="window.open(this.href, 'popupwindow', 'width=200,height=150,left=400,top=300'); return false;">YourLinkorImageToLink</a>
Change the values that are highlighted in red to match the properties of your form.
path = The directory where you copied date.asp YourFormName = The name of the current form. YourDateFieldName = The name of the date field you want to select. left = Number of pixels from the left of screen to open the calendar. top = Number of pixels from the top of screen to open the calendar. YourLinkorImageToLink = The image name or text to be linked.
To change the color of a form you can append this to your link:
&bgcolor1=FFFFFF
Edit the color by changing FFFFFF to whatever color you wish.
5. You can change the date format from US to EN by adding this:
$lang=EN
6. Save your form and open it with your internet browser. Click on the link you created. If it fails, check your link paths.
|