|
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 ]))
|