[Seaside] lightbox open within renderContentOn

Johan Brichau johan at inceptive.be
Thu Apr 11 18:33:11 UTC 2013


isn't there an 'autoOpen' option on the JQDialog ?


On 11 Apr 2013, at 19:54, Bob Arning <arning315 at comcast.net> wrote:

> 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
>> 
>> 
>> 
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list