How can i change the position of customized lightbox?
when lightbox is shown i see that it adds a
style = display: block; top: 506px; left: 196px;
to my lightbox. i need to change these left and top values.
By default lightbox position self in the center of the screen
If necessary you can redefine the showCover method
[code]scheduler.showCover = function(box){
//set custom position
box.style.left = “10px”;
box.style.top = “10px”;
scheduler.show_cover();
}[/code]
thanks. after i used showCover now, lightbox is gone only background turns black and it doesn’t show up even if i remove top and left values. any idea?
Sorry, was a my typo, the valid code will look like
[code]scheduler.showCover = function(box){
if (box){
box.style.display = “block”;
//set custom position
box.style.left = "10px";
box.style.top = "10px";
}
scheduler.show_cover();
}[/code]