[Seaside] Re: lightbox open within renderContentOn

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


Thank you, Bob! Works!

On Thu, Apr 11, 2013 at 7:55 PM, Bob Arning-2 [via Smalltalk]
<ml-node+s1294792n4680910h5 at n4.nabble.com> 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
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903p4680910.html
> To unsubscribe from lightbox open within renderContentOn, click here.
> NAML




--
View this message in context: http://forum.world.st/lightbox-open-within-renderContentOn-tp4680903p4680912.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/41350ebb/attachment.htm


More information about the seaside mailing list