jBox has various functions which might be of interest to the APL-developer. Here, we demonstrate tooltips: Move mouse over this text!
The tooltip opens automatically when your moves over the element. To help you recognize these
sensitive areas, the "tooltipped" elements have dots around them. However, that is only a specific
feature of this demo, as you will see when examining the source-code.
:Class jBoxSimple : MiPageSample
⍝
⍝
∇ Compose;p
:Access public
p←Add _.p'jBox has various functions which might be of interest to the APL-developer. Here, we demonstrate tooltips: '
'.tooltip' 'title="Hi, I''m a tooltip!"'p.Add _.span'Move mouse over this text!'
p←Add _.p ScriptFollows
⍝
⍝
⍝
'.tooltip' 'title="Click on the "VIEW - APL Code" tab!"'p.Add _.span'examining the source-code'
p.Add'.'
⍝
Add _.style'.tooltip {border:2px dotted darkorange}'
⍝
(Add _.jBox).Selector←'.tooltip'
∇
:EndClass