[Seaside] Problem with lightbox

Sylvain Pralon sylvain.pralon at gmail.com
Mon Jul 23 11:46:00 UTC 2007


As you can see on the screenshot I sent, the lightbox is not placed on 
the center of browser's window.
In fact the lightbox div is well placed in the center of the overlay 
div. The problem is that the overlay div is placed on the upper left 
corner of the seaside component which called it. That's why on my 
screenshot you can see the transparent black background of the overlay 
div not beginning at the upper left corner of my browser's window but 
somewhere else in this same window.
The script method on the SULightbox object normally get the window 
dimension and nothing else, so I do not understand why I get such a 
behavior.

I take the last version of seaside and scriptaculous last friday on the 
cincom public repository.

thanks.

Sylvain

Bany, Michel a écrit :
> Hi Sylvain,
>
> As far as I known, with Scriptaculous out of the box, the intention is
> to place the box at the center of the browser's window, certainly not in
> the upper left corner. What exactly in the javascript and stylesheets
> makes you think that the box should go to that corner?
>
> There were some bugs regarding the exact positioning of the box that
> were fixed in recent versions. It is therefore interesting that you tell
> us what version of Seaside and Scriptaculous you are using.
>
> Cheers,
> Michel.
>
>   
>> -----Original Message-----
>> From: seaside-bounces at lists.squeakfoundation.org 
>> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf 
>> Of Sylvain Pralon
>> Sent: lundi, 23. juillet 2007 12:56
>> To: seaside at lists.squeakfoundation.org
>> Subject: [Seaside] Problem with lightbox
>>
>> Hello,
>>
>> I want to use a lightbox effect to set some parameters of a 
>> seaside widget.
>> In fact i have a root component in my application which have 
>> children, and children could have children too.
>> In my widget, I have an anchor and when I click on it I want 
>> to open a lightbox, just with a WASelection component.
>> It opens but not in the upper left corner of my windows. I 
>> take a look on the script and css of the SULightbox object 
>> and normally it should be in this corner. (take a look at the 
>> screenshot) Any idea ?
>>
>> Thanks
>>
>> Sylvain
>>
>>
>>
>>
>>     
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>   


More information about the Seaside mailing list