|
Cookbook /
LinkCSSToolTipSummary: link markup for links with css popup tooltip text
Version: 2008-04-10b
Prerequisites:
Status: new
Maintainer: HansB
Download: linkcsstooltip.phpΔ
Questions answered by this recipeHow can I have links with styled and multi-line tooltips, even including images? DescriptionDownload linkcsstooltip.phpΔ, copy to cookbook folder and add to config.php: include_once("$FarmD/cookbook/linkcsstooltip.php");
This adds two new link markups for additional tooltip text:
You can use wiki styles in the markup for the tooltip text. Or change the css styling to your needs and liking. In fact you can use any markup inside the tooltip, even page text varibles, markup expressions, conditional markup, page includes etc. The tooltip text will pop up immediately when rolling the mouse over the link. It also works for IE (improving on the technique used in CSSPopups. Entering Notes
Browser Compatibilities Issues
Release Notes
See AlsoContributorsCommentsWhich browsers has this recipe been tested in? (I had a problem under Opera.) - RandyB 2008-04-18 There is a rendering bug in Opera 9.27, which is overcome in Opera 9.5beta. HansB Using the 2008-04-10 version of this recipe with Safari 3.1 and Firefox 3.0b5 causes the same problem: sometimes a new line occurs where it shouldn't. - RandyB 2008-04-19 I have this working where it includes another page as a tooltip. The problem is I have many links on the page. When the tool tip pops up with a link underneath it. The link shows through (tooltip is translucent to links underneath) This appears to only be in IE(7). In Firefox its ok. - Nigel 2008-02-10 [[Home.Lnk|Text|:(:include pagelink.link:):]]
I have this working where it includes another page as a tooltip. If the text is on a single line it causes scrollbars and text is off the page. Only occurs in Firefox. IE(7) is Ok - Nigel 2008-02-10
|