|
Cookbook /
LinkPageCreateFmtTooltipSummary: How to add a tooltip for a link to a non-existent page
Version:
Prerequisites:
Status:
Maintainer: KAL
Categories: Links
QuestionHow do I add a tooltip (small popup text that is displayed when you run with the mouse over a link) for a link to a non-existent page? AnswerAdd a title-attribute to the variable
$LinkPageCreateFmt =
"<a class='createlinktext'
title='$[page not found - click link to create page]'
href='\$PageUrl?action=edit'>\$LinkText</a>
<a class='createlink'
title='$[page not found - click link to create page]'
href='\$PageUrl?action=edit'>?</a>";
(the second title-attribute applies to the "?" in the link) See AlsoContributors
|