jquery. ptTimeSelect.js |
jquery. ptTimeSelect.jsjQuery plug in for displaying a popup that allows a user to define a time and set that time back to a form’s input field. AUTHORPaul T. DEPENDECIES
LICENSECopyright © 2007 Paul T. (purtuga.com) Dual licensed under the:
INSTALLATIONThis file jquery.ptTimeSelect.js is the only one required. To install, simply copy it to the same directory as jquery.js and include it in the html pages requiring it’s functionality. USAGEUsage of this plugin is via the $(ele).ptTimeSelect() method. all others are internal to this plugin. The default apperance can be controled by changing the value in jQuery.ptTimeSelect.html LAST UPDATED
Summary
jQuery. ptTimeSelect.htmlProperty holds the html options used in the generated code which is added to DOM. Any of these values can be overriden by either defining them directly (ex. jQuery.ptTimeSelect.html.bgcolor: ‘black’;) or [PREFERABLY] via the $(ele).ptTimeSelect() method. The list of parameters that can be used to control the html are:
jQuery. ptTimeSelect. openCntr()Displays the time definition area on the page, right below the input field. Also sets the custom colors/css on the displayed area to what ever the input element options were set with. PARAMS
RETURNnothing. $(ele).ptTimeSelect()PUBLIC METHOD. Displays an html popup that allows the user to define a time, which will then be written to the form element. Each element matched will be wrapped with html code that will display a link next to the field that allows the user to view the popup area for defining the time. This is the only method that is expected to be used externally for implementation into a web page. PARAMS
RETURNS
EXAMPLE
Time Definition Popup<div style="border: 2px solid rgb(221, 219, 203); |
Internal method.
jQuery.ptTimeSelectInit = function ()
Object that will store the static functions of ptTimeSelect()
jQuery.ptTimeSelect