Popup Calendar 1.0 - DHTML Lab | 12
Pop-up Calendar 1.0
The Calendar Attributes, Part 4
input_element_id | input_element_id = "myVisibleInputElementID" input_element_id = "myHiddenInputElementID" input_element_id = "myTextareaElementID" |
|||
Specifies a text input ( <input type="text"> ), hidden text input ( <input type="hidden"> ), or textarea ( <textarea> ) element for displaying or storing a user-selected date. Make sure the parameter value is identical to your formelement's unique id attribute. If your input HTML is: <input type="text" id="flightdate"> the parameter should be: input_element_id = "flightdate" The script does not provide a default input_element_id value. Usage Suggestion: | ||||
click_element_id | click_element_id = "myCalendarImageID" click_element_id = "myAnyHTMLElementID" |
|||
Specifies an HTML element, which when clicked will cause the calendar to appear. Usually this is a calendar image, but it can be any element. Make sure the parameter value is identical to your element's unique id attribute. If your click element HTML is: <img src="dlcalendar_3.gif" id="flightdatecalendar"> the parameter should be: click_element_id = "flightdatecalendar" If your click element HTML is: <span id="flightdatecalendar">Select Flight Date</span"> the parameter should be: click_element_id = "flightdatecalendar" The script does not provide a default click_element_id value. Usage Suggestion: | ||||
tool_tip | tool_tip = "Click for calendar" tool_tip = "Choose flight date" |
|||
Specifies the text of a popup tool tip to appear when the user hovers over the "click element" that launches the calendar The script provides a default tool_tip value of "Click for Calendar". |
On the next page: specifying colors and other styling for the calendar display.
Send a comment or suggestion to Peter Belesis
Created: July 20, 2004Revised: July 20, 2004
URL: https://webreference.com/dhtml/column67/8.html