hello people I have s problem with implementing Vista-Like Ajax Calendar to my website.
To header.tpl add this lines:
<link rel="stylesheet" media="screen" href="Includes/plugins/DatePicker/styles/vlaCal-v2.1.css" type="text/css" />
<link rel="stylesheet" media="screen" href="Includes/plugins/DatePicker/styles/vlaCal-v2.1-adobe_cs3.css" type="text/css" />
<script type="text/javascript" src="Includes/plugins/DatePicker/jslib/mootools-1.2-core-compressed.js"></script>
<script type="text/javascript" src="Includes/plugins/DatePicker/jslib/vlaCal-v2.1-compressed.js"></script>
and this code:
<script type="text/javascript">
window.addEvent('domready', function() {
new vlaDatePicker('ptime', { style: 'adobe_cs3', offset: { y: 1 }, format: 'd.m.y', ieTransitionColor: '' });
});
</script>
Ajax calendar is not working in this format. Next I edit code to:
<script type="text/javascript">
{literal}
window.addEvent('domready', function() {
new vlaDatePicker('ptime', { style: 'adobe_cs3', offset: { y: 1 }, format: 'd.m.y', ieTransitionColor: '' });
});
{/literal}
</script>
Calendar is not working with {literal}{/literal}.
What I do wrong? Where is a problem??