Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve on Sep 23, 2009 15:13
open dhtmlx forum
Scheduler - Moving edit screen up via css

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.

Thanks
Answer posted by Alex (support) on Sep 24, 2009 02:58

Hello, 

in all sample body overflows is set hidden. You can use auto instead. In this case page can be scrolled

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


Answer posted by Steve on Sep 24, 2009 09:42
That worked. Thanks
Answer posted by dhxSupport on Oct 02, 2009 03:04
To move description window up you should should redefine following function:

scheduler.showCover=function(box){

 this.show_cover();

 if (box){

  box.style.display="block";

  box.style.top=Math.round((document.body.offsetHeight-box.offsetHeight)/2)+"px";

  box.style.left=Math.round((document.body.offsetWidth-box.offsetWidth)/2)+"px";

 }

}