Board Logo

Calendar appearing in wrong position
domcorn - 3/22/2009 at 10:35 AM

I am using multiple calendars within a form of variable length that is generated by PHP.

The form is inside a scrollable div (a div with the overflow property set to scroll in CSS)

At the top of the form where no scrolling is necessary everything works fine. However if the control for the calendar is in a part of the form where you have to scroll to see it, the calendar pops up far below the control - the further you have to scroll, the further the calendar is from the control.

Any ideas how I can fix this?


davemick - 6/17/2009 at 11:46 AM

I've had the same problem. It appears to only occur though, when using a relatively positioned <div>. If you use absolute positioning, there isn't a problem.

If you do find a solution when using relative positioning, then I'd love to hear about it!


mvadovszki - 3/23/2010 at 01:00 AM

line 290 in the us version

change
e_elem.style.overflow == 'scroll'

to
(e_elem.style.overflow == 'scroll' || e_elem.style.overflow == 'auto')


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/