[pmwiki-users] links with mouseover titles
Hans
design5 at softflow.co.uk
Wed May 28 12:26:48 CDT 2008
Wednesday, May 28, 2008, 3:32:54 PM, Peter & Melodye Bowers wrote:
> More clearly, I want to enter [[~SCB]] (or [[~SCB|^]] or something) in the
> field (not [[~SCB|+]]) and then when I hover my mouse over that link I would
> like to see "Stephen's Center Bookstore".
or perhaps better use LinkCSSToolTip and these markups:
Markup('[[|:+:|','<[[|+|',
"/(?>\\[\\[([^|\\]]*)\\|:)\\s*(\\+)\\s*:\\]\\]/se",
"Keep(ToolTipLink(\$pagename, PSS('$1'), PSS('$1'),
PageVar(MakePageName(\$pagename, PSS('$1')),'\$Title'),''),'L')");
Markup('[[~|:+:|','<[[|:+:|',
"/(?>\\[\\[~([^|\\]]*)\\|:)\\s*(\\+)\\s*:\\]\\]/se",
"Keep(ToolTipLink(\$pagename, PSS('Profiles.$1'), PSS('$1'),
PageVar(MakePageName(\$pagename, PSS('Profiles.$1')),'\$Title'),''),'L')");
The first is the same than I posted in the last email.
The second adds a [[~Name|:+:]] markup specifically for links to
'Profiles' pages.
~Hans
More information about the pmwiki-users
mailing list