Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve on Oct 01, 2009 08:39
open dhtmlx forum
Scheduler - Moving edit screen up via css (attempt 2)

I'm trying to figure out how to move the edit screen in the scheduler up. I've added a few more sections to the edit region and now when I open up the Repeat Event option the edit region extends past the bottom of the screen and you can no longer click save, cancel or delete and can't use the scroll bar to scroll the window down. If I were able to figure out how to allow the window to scroll down using the scroll bar that would also fix my issue.

It was suggested in another response that I do the following...

html, body{
...
/*overflow:hidden;*/
}

However, this had an unexpected issue in IE8 where you could no longer scroll down the page as it would automatically move you to the top of the page again.

Where in the css is the edit box defined to be the middle of the page.

I did submit this question through the support email address (after we bought the commercial version), but have not heard back.

Thanks again for your help.
Answer posted by Stanislav (support) on Oct 02, 2009 10:32
The position of the form is controlled by the showCover method, which normally puts the form at the center of the screen, you can redefin this method as

scheduler.showCover=function(box){
   this.show_cover();
   if (box){
      box.style.display="block";
      box.style.top=desired_top_position+"px";
      box.style.left=desired_left_position+"px";
   }
}