The HTML/JS looks like so...
------------------------------
<input type="text" name="report_dates_from" id="report_dates_from_id"
value="11/04/2009" size="10" /> <img src="images/calendar.gif" alt=""
title="Date selector" id="report_dates_from_id_image" />
<script type="text/javascript">
window.addEvent('domready', function () {
new DatePicker('report_dates_from_id', {
additionalShowLinks: ['report_dates_from_id_image'],
showOnInputFocus: false,
updateOnBlur: false,
useDefaultCss: false,
stickyWinOptions: {
offset: { x: 110, y: -100 },
fadeDuration: 100
}
});
});
</script>
------------------------------
Note that I also have a blur event on the text field which updates the
date into the format MM/DD/YYYY.
Thanks,
~Philip
weekStartOffset: 1 (case on your sx) weekStartOffset: 0 (case on your dx)I hope this could be helpful.