Problems in lightbox layout.

Hi,

I have a custom lightbox:


	        var lightboxsections = [	
	        	  {name:"text", height:150, map_to:"text", type:"textarea" , focus:true},
	        	  {name:"type", height:21, map_to:"typeofevent", type:"select", options:
	        	       option
	        	       },
	        	  {name:"recurring", height:115, type:"recurring", map_to:"rec_type", button:"recurring"},
	        	  {name:"time", height:72, type:"time", map_to:"auto"}	
	        	  ];	

My scheduler is inside a dhtmlxlayout:


var dhxLayout = new dhtmlXLayoutObject(document.body, "5I");
dhxLayout.cells("c").attachScheduler();

dhxLayout.cells("a").setHeight(80);
dhxLayout.cells("e").setHeight(140);

dhxLayout.cells("b").setWidth(200);
dhxLayout.cells("d").setWidth(200);

All this means that when I open the ‘recurring’ section – the save/cancel/delete options are now off the screen and cannot be accessed.

What options do I have ?

Thanks,

I have read and followed the following post.

viewtopic.php?f=6&t=19024&p=60015&hilit=position+of+lightbox#p60015

and replaced with.


scheduler.showCover = function(box){
           this.show_cover();
            var schedContainer = document.getElementById('dhx_cal_data');
            var windowheight = window.screen.availHeight * 0.10;
            var scrollOffsetY = window.pageYOffset || document.documentElement.scrollTop;
            if(box)
            {
                box.style.display="block";
                var B=getOffset(this._obj);
                
                box.style.top=Math.round(scrollOffsetY+windowheight)+"px";
                box.style.left=Math.round(B.left+(this._obj.offsetWidth-box.offsetWidth)/2)+"px";
            }
        }

Do you see any problems with using this in a dhtmlxlayout ? thanks

Do you see any problems with using this in a dhtmlxlayout ?

As far as I can see - it must not cause any conflicts or problems.

thanks