[Seaside] JQueryWidgetBox BubbleTip depending on selection

Sabine Knöfel sabine.knoefel at gmail.com
Tue Dec 18 11:05:16 UTC 2012


Hi,

I was not able to find out how to show a bubble tip for a list which depends
on the current selection.
Can anyone help?

Greetings 
Sabine


| theInput |
theInput := html select
	list:
		{1.
		2.
		3.
		4};
	selected: 3;
	labels: [ :each | each printString ];
	callback: [ :value |  ].
theInput
	script:
		(html jQuery this bubbletip
			deltaDirection: 'right';
			calculateOnShow: true;
			target:
				(html jQuery
					html: [ :r | 
						r preformatted
						class: 'tip';
						id: #id1021;
						with: 'Selection: ' , (theInput list detect: [ :each | theInput
isSelected: each ]) printString ]))



--
View this message in context: http://forum.world.st/JQueryWidgetBox-BubbleTip-depending-on-selection-tp4659791.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list