window.addEvent('domready', function() { myCal1 = new Calendar({ date1: 'Y-m-d' }, { direction: 1, tweak: {x: 6, y: 0} }); myCal2 = new Calendar({ date2: 'd/m/Y' }, { classes: ['dashboard'], direction: 1, tweak: {x: 3, y: -3} }); myCal3 = new Calendar({ date3: 'd/m/Y' }, { classes: ['i-heart-ny'], direction: 1, tweak: {x: 3, y: 0} }); }); |