Page 1 of 1

calendar date-picker works fine in my IE

Posted: Sat Aug 19, 2006 7:48 pm
by martin
hi Marco,
I`ve tested the javascript date picker in the availability form and it works fine for me!
tested on WinXP sp2 IE version 6.0.2900.2180
also tested on IE 5.5 and 5.01 from
http://www.quirksmode.org/browsers/multipleie.html
and no problems there!
I had to play with $var_calendar_box_style options (added width: 140px; height: 140px;) to get it to look right but thats all.
btw this is on a localhost but that shouldnt matter should it?
anyone else had problems?

keep up the good work :D
Martin

Posted: Mon Aug 21, 2006 3:34 am
by marco
Hello Martin,
the problem only appears when the calendar box overlaps a select drop-down menu, like in the page for inserting prices. You can have problems in the internet template if you permit to add more types.

Marco

Posted: Fri Aug 25, 2006 12:16 pm
by martin
I see what you mean, after a bit of googling, I found this:
http://www.aplus.co.yu/wch/intro/

if you put this in the header,
<!--[if IE]>
<script type="text/javascript" src="WCH.js"></script>
<![endif]-->
change $var_calendar_box_style z-index to 10,
put class=\"WCHhider\" in all the <input> fields,
put WCH.Apply('cal'+ncal); in function crea_cal_mese
and WCH.Discard('cal'+ncal); in function nasc_cal
it displays the calendar correctly
even when IE7 comes out it'll be years before everyone has updated from IE6, luckily this hack is released under a creative commons license, so as long as Aleksandar Vacić is attributed he's happy!

Posted: Sun Aug 27, 2006 12:21 am
by marco
Ok, I'll take a look to it the next week.

Marco