[Seaside] lightbox open within renderContentOn

Sabine Knöfel sabine.knoefel at gmail.com
Thu Apr 11 16:57:17 UTC 2013


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.


More information about the seaside mailing list