Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
functions [2016/12/05 22:13] textstorm [Send a User a System Message] |
functions [2016/12/05 22:15] textstorm [Generate a Tooltip] |
||
---|---|---|---|
Line 76: | Line 76: | ||
===== Generate a Tooltip ===== | ===== Generate a Tooltip ===== | ||
This allows you to generate a tooltip - when text is hovered over a CSS box will display with more information. | This allows you to generate a tooltip - when text is hovered over a CSS box will display with more information. | ||
+ | |||
+ | Function: public function GenTooltip($text, $tiptext) | ||
+ | |||
+ | To display a tooltip: | ||
+ | <file php GenerateToolTip.php> | ||
+ | $user->GenTooltip("Hover over me", "This is some information displayed when you hover over the text"); | ||
+ | </file> |