DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:menupopup

This is an old revision of the document!


Menu Pop Up plugin

Compatible with DokuWiki

No compatibility info given!

plugin Define a link or text to show an included DokuWiki page while hovered

Provides
Syntax

Tagged with include, menu, navigation, popup

Details and Download


Is it possible not to show a page but just some text, like a tool-tip?
Laurence

Does not work at all with Opera 10.10
joschaef

additions for printing and pdf

added a print.css:

div.menuContent { display:none }

and with the dw2pdf in the user\user.css:

div.menuContent {
display: none;
}

Fix for normal text

Within the style.css add the following;

div.menuContainer div.menuContent, div.menuContainerOver div.menuContent
{
font-weight: normal;
}

else, the popup content goes bold or italic because it uses the current weight, which is used for the link. Adding font-weight: normal; fixes this

Tip: border style

Make your popup a bit nicer by using a border-style in your style.css, for example:

div.menuContainer div.menuContent, div.menuContainerOver div.menuContent
{
border-style: outset;
}
plugin/menupopup.1299489110.txt.gz · Last modified: 2011-03-07 10:11 by nanite

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki