Tooltip elements (since beta 0.3) let you add temporary boxes of text disappearing after validation that can be anchored to other elements.
Creation:
newTooltip("myTooltip", "Hello world!", "Click me")
Creates a tooltip reading Hello world
with a button reading Click me!
at its bottom-right corner.
Example:
[js try=”true”]newImage(“myImage”, “square.png”)
.print()
,
newTooltip(“myTooltip”, “This is a square”)
.print( getImage(“myImage”) )
[/js]
Adds an image to the page and places a box with the text This is a square to its bottom-right corner, which disappears when a validation button (reading OK by default) is clicked.
Actions
[yadawiki-list category=”Action command,Tooltip element”]
Settings
[yadawiki-list category=”Settings command,Tooltip element”]
Tests
[yadawiki-list category=”Test command,Tooltip element”]
Index
- Installing PennController
- Ontology
- Aesthetics
- Preloading resources
- ZIPped resources
- Spreadsheet (CSV)
- Canvas creation
- Setup for audio recordings collection
- Commands by element categories
- Standard Element Commands
- Audio element
- Button element
- Canvas element
- Function element
- Html element
- Image element
- Key element
- Scale element
- Selector element
- Text element
- TextInput element
- Tooltip element
- Timer element
- Var element
- Video element
- VoiceRecorder element
- Youtube element
- Special clear command
- Special end command
- Global PennController Commands
- PennController
- PennController.AddHost
- PennController.AddTable
- PennController.CheckPreloaded
- PennController.DownloadVoiceButton
- PennController.FeedItems
- PennController.Footer
- PennController.GetTable
- PennController.GetURLParameter
- PennController.Header
- PennController.InitiateRecorder
- PennController.PreloadZip
- PennController.ResetPrefix
- PennController.Template