[Seaside] Lightbox in Firefox (Lukas?)

Gerhard Obermann obi068 at gmail.com
Tue May 4 06:32:50 UTC 2010


1) Use firebug to check if you get any javascript errors
2) Did you include SULibrary


|  I'm not really sure why that style was included.  Lukas, can you shed any
light (no pun intended) on the reasoning here?

Because it becomes visible by using the javascript code at SULightbox. (see
method script)

Gerhard


On Tue, May 4, 2010 at 3:10 AM, Mortensen Sigrid E. <
sigrid at selfhelpsoftware.com> wrote:

> FWIW, I commented out the line "style: 'display: none';" in
> SULightbox>>renderContentOn:, and now it works in FF.
>
> renderContentOn: html
>     self renderOwnerOn: html.
>     html div id: 'overlay'.
>     html div
>         id: 'lightbox';
>      "   style: 'display: none';"
>         with: self delegate.
>     self session addLoadScript: self lighter
>
>
> I'm not really sure why that style was included.  Lukas, can you shed any
> light (no pun intended) on the reasoning here?
>
> Thanks,
> -- Sigrid.
>
> P.S.  Rats!  It sorta-kinda works in Safari, too, except that now the
> overlay doesn't fill the whole window.
>
>
> On Apr 30, 2010, at 12:01 PM, Mortensen Sigrid E. wrote:
>
> Anybody have any ideas why lightbox may be working for me in Safari but not
> in Firefox?
>
> I'm on a Mac with Seaside 2.8 and Scriptaculous-mb.239.
>
> When I press the button that brings up the lightbox in Safari, everything
> works as expected, but when I do the same in Firefox, the process bar moves
> like it's loading the page, but I see nothing.
>
> Putting a halt in where the button press is handled tells me nothing,
> because the #lightbox: call eventually raises a signal in a
> WARenderNotification and then it goes off into debugger la-la-land.
>
> Thanks in advance for any help,
> -- Sigrid._______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100504/13712560/attachment.htm


More information about the seaside mailing list