|
Command |
Description |
BALLOON
|
Gives the tooltip a balloon style.
Value: true or false.
Recommended: Combine with
ABOVE
command, or set the config. Above variable in the global cofiguration in wz_tooltip.js to true if you want this to be the default behaviour.
Example:
onmouseover="Tip('This is a balloon tooltip', BALLOON, true, ABOVE, true)"
|
BALLOONIMGPATH
BALLOONIMGEXT
|
Specifies the path to the images that build the background, edges, corners and stem of the balloon tooltip.
Useful if you want to use a different set of images (e.g. of other colours) for a certain tooltip.
Path must be relative to the HTML file, and enclosed with single quotes.
BALLOONIMGEXT optionally permits you to specify the file name extension of these images (e.g. "png"), in case that it differs from the extension preset in tip_balloon.js.
Example, for a set of images in a different directory, and with a different file name extension:
onmouseover="Tip('Tooltip text', BALLOON, true, BALLOONIMGPATH, 'somepath/somedir/', BALLOONIMGEXT, "png")"
|
BALLOONEDGESIZE
BALLOONSTEMWIDTH
BALLOONSTEMHEIGHT
|
If you want to use a different set of background/edge/corner/stem images for a certain balloon tooltip, these commands allow you to notify the script about the sizes of those images, in case that they differ from the global settings in tip_balloon.js.
Values: Integers > 0.
|
BALLOONSTEMOFFSET
|
Adjusts the horizontal offset of the stem from the mouse.
Value: Integer, also negative.
In combination with this, you might also want to play with the OFFSETX command - which sets the horizontal offset of the tooltip itself from the mouse
(see commands reference
on the main tooltip page).
|
|
|