[pmwiki-users] Popup / tooltip

Dominique Faure dominique.faure at gmail.com
Fri Oct 19 03:33:07 CDT 2007


On 10/18/07, Stéphane Heckel <hsteph at club-internet.fr> wrote:
>
> "Dominique Faure" wrote :
>
> > You should perhaps have a look at http://pmwiki.org/wiki/Cookbook/DomTT
>
> Perfect !
> http://pmwiki.confluence.free.fr/index.php?n=Partners.ThePartner
> (mouse on 12 Apr 2007)
>
> Questions :
> #1 not sure how to reproduce the "tooltip fadin in" and how to play with
> styleClass (define different background color and transparent mode) like in
> example 5
> http://pmwiki.confluence.free.fr/pub/domTT/examples/example5.html
>
> #2 the 'tooltiplink' is
>  text-decoration: underline;
>  border-bottom: 3px double;
> What about dot underline (single line) ?
>

The different styling elements (css classes) used by the recipe are
referenced in the $DomTTStyles array variable (or taken from the
markup options). You should then:

a/ Define a bunch of css style classes for your elements (in the
appropriate css file [1]),

b/ Tell the recipe that you want to use them, as in:

[:13 Apr 2007 class='myDomTTCssClass' tooltiplink='myLinkCssClass' :12 Apr 2007]

> and the main question, ...
>
> #3 what would be the amount of work to display a pmwiki page instead of a
> hidden identified division block ?
>

Cf. "Into the details" section of the recipe page for the technical
justification.

Anyway, you could use the (:include:) directive to retrieve content
from other pages.

> btw, thanks for the cookbook !
>

You're welcome;)

[1] http://www.pmwiki.org/wiki/PmWiki/LocalCustomizations
-- 
Dominique



More information about the pmwiki-users mailing list