[pmwiki-users] links with mouseover titles

Hans design5 at softflow.co.uk
Wed May 28 12:02:37 CDT 2008

Wednesday, May 28, 2008, 3:32:54 PM, Peter & Melodye Bowers wrote:

> Is there any recipe which will give me capability of using a normal link
> (without title) but when the user hovers their mouse over it then it would
> give the real title?

> I'm wanting to use short links to profile pages in a wikiform application so
> they need to fit in a relatively narrow column.  But I want the capability
> of people hovering over the link and seeing the title.

> 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".

you could try using

with an added custom markup:

## [[target |:+:]] target with title as tooltip
  "Keep(ToolTipLink(\$pagename, PSS('$1'), PSS('$1'),

use like [[SCB|:+:]]

If you want the target link always to be a page in group Profiles,
so you don't need to write [[Profiles/SCB|:+:]], you could change the
markup to

## target is always in group Profiles
## [[target |:+:]] target with title as tooltip
  "Keep(ToolTipLink(\$pagename, PSS('Profiles.$1'), PSS('$1'),
        PageVar(MakePageName(\$pagename, PSS('Profiles.$1')),'\$Title'),''),'L')");


More information about the pmwiki-users mailing list