[Seaside] lightbox open within renderContentOn

Bob Arning arning315 at comcast.net
Thu Apr 11 17:54:45 UTC 2013


just add this:

     html document addLoadScript: (
         (html jQuery id: id) dialog open
     ).


Cheers,
Bob

On 4/11/13 12:57 PM, Sabine Knöfel wrote:
> Hi,
>
> this example (JQDialogFunctionalTest) opens a lightbox if the user clicks on
> a button.
>
> 	| id |
> 	html div
> 		id: (id := html nextId);
> 		script: (html jQuery new dialog
> 			html: JQCounterFunctionalTest new;
> 			title: 'Lightbox Dialog';
> 			resizable: false;
> 			modal: true).
> 	html submitButton
> 		onClick: (html jQuery id: id) dialog open;
> 		with: 'Open Lightbox'
>
> I want the lightbox to open immediately, when the page is generated (within
> renderContentOn:)
>
> Can anyone help?
>
> Sabine
>
>
>
>
> --
> View this message in context: http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> 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/20130411/ef10ebae/attachment.htm


More information about the seaside mailing list