[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
simpeg
/
lib
/
jscalendar
/
[
Home
]
File: simple-1.html
<html style="background-color: buttonface; color: buttontext;"> <head> <meta http-equiv="content-type" content="text/xml; charset=utf-8" /> <title>Simple calendar setups [popup calendar]</title> </head> <body> <!-- calendar stylesheet --> <link rel="stylesheet" type="text/css" media="all" href="css/calendar-system.css" title="calendar-system" /> <!-- main calendar program --> <script type="text/javascript" src="calendar.js"></script> <!-- language for the calendar --> <script type="text/javascript" src="lang/calendar-en.js"></script> <!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. --> <script type="text/javascript" src="calendar-setup.js"></script> <form action="#" method="get"> <table cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr> <td><input type="text" name="date2" id="f_date_c2" readonly="1" /></td> <td><img src="img.gif" width="20" height="8" id="f_trigger_b2" style="cursor: pointer; border: 1px solid red;" title="Date selector" onmouseover="this.style.background='red';" onmouseout="this.style.background=''" /></td> </table> </form> <script type="text/javascript"> Calendar.setup({ inputField : "f_date_c2", // id of the input field ifFormat : "%m/%d/%Y %I:%M %p", // format of the input field showsTime : true, // will display a time selector button : "f_trigger_b2", // trigger for the calendar (button ID) singleClick : false, // double-click mode step : 1 // show all years in drop-down boxes (instead of every other year as default) }); </script> <br><br> <form action="#" method="get"> <input type="text" name="date1" id="f_date_b1" /><button type="reset" id="f_trigger_b1">...</button> </form> <script type="text/javascript"> Calendar.setup({ inputField : "f_date_b1", // id of the input field ifFormat : "%m/%d/%Y %I:%M %p", // format of the input field showsTime : true, // will display a time selector button : "f_trigger_b1", // trigger for the calendar (button ID) singleClick : false, // double-click mode step : 1, // show all years in drop-down boxes (instead of every other year as default) showsTime : true }); </script> </body> </html>