A Tinderbox Reference File : Tutorials and Wizards : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : pic |
pic |
<pic[N]> [text] </pic[N]>
Occurs: Only in choicePanel
Multiple instances: Yes - within each choicePanel
Has attributes: No - but should enclose a text string
Self-closing: No
This tag sets the per-choice images in a choicePanel, where 'N' is the number of the currently choice, e.g. 'choice1' invokes 'pic1', etc. If the choicePanel offers only a single, unchanging, image on the panel use picture instead or omit pic/picture altogether for no image.
The picture is set in a 230 x 230 pixel frame and scaled to fit if larger smaller (i.e. like an HTML <img src="[$picture value]" width='230" height="230">
). Any web compatible image seems usable (JPG, GIF,PNG).
Example:
<pic2>green.jpg</pic2>
Up: Wizard XML Syntax | |
Previous: Open | Next: picture |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]