[pmwiki-users] tooltip

Dominique Faure dominique.faure at gmail.com
Sat Aug 5 15:04:56 CDT 2006


On 8/5/06, JB <jbit at ev1.net> wrote:
> > If you install John Rankin's
> > http://www.pmwiki.org/wiki/Cookbook/MarkupExtensions recipe, you'll
> > have a new, inline {:term:term definition} markup. With this, the
> > portion between the opening "{:" and the second ":" will appear
> > on-screen with a fine, dotted underscore; when the reader's mouse
> > hovers over that screen-text, the portion after the second ":" pops up
> > like a "tool-tip".
> >
> > You can see how it works all over the page
> > http://intranet.affinity.co.nz/pmwiki2/index.php/Main/MarkupQuickReference,
> > where John uses it to illustrate many of the other features added by
> > the MarkupExtensions recipe.
>
>
> I do not think this will work because the tooltip would have
> to be muli-line.  For instance, moving over this:
>
>    (:div class=chord chord='F#maj7' :)F#maj7(:divend:)
>
>
> to display something like this in s tooltip:
>
>     F#maj7
>     ******2
>     ||||||
>     |*||||
>
>
>
>
>
>
> Other suggestions?
>

It seems that http://www.ultimate-guitar.com/tabs/g/george_harrison/my_sweet_lord_crd.htm
uses javascript to display chords, so this would need defining
dedicated markup directives which is a bit more work...

BTW, shouln't be the F7 chord something more like:

e -x-|---|---|---|---|
B -x-|---|---|---|---|
G ---|-x-|---|---|---|
D -x-|---|---|---|---|
A ---|---|---|---|---|
E ---|---|---|---|---|

and for those interrested, Abdim7 is:

e ---|---|---|-x-|---|
B ---|---|---|---|---|
G ---|---|---|-x-|---|
D ---|---|---|---|---|
A ---|---|---|---|-x-|
E ---|---|---|-x-|---|

Regards,
Dom




More information about the pmwiki-users mailing list