[Seaside] Re: lightbox open within renderContentOn

Sabine Knöfel sabine.knoefel at gmail.com
Thu Apr 11 18:38:12 UTC 2013


yes, that works too. Better. Thanks.

html div
	id: self lightboxId;
	script:
		(html jQuery new dialog
			html: RKADialogTransientPersonView new;
			title: '....';
			resizable: false;
			autoOpen: true;
			modal: true).


On Thu, Apr 11, 2013 at 8:33 PM, Johan Brichau-2 [via Smalltalk]
<ml-node+s1294792n4680916h91 at n4.nabble.com> wrote:
> isn't there an 'autoOpen' option on the JQDialog ?
>
>
> On 11 Apr 2013, at 19:54, Bob Arning <[hidden email]> 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
>>>
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903p4680916.html
> To unsubscribe from lightbox open within renderContentOn, click here.
> NAML




--
View this message in context: http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903p4680917.html
Sent from the Seaside General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20130411/40322265/attachment-0001.htm


More information about the seaside mailing list