Download Popup.xml from this page and upload to your server.
Goto Configuration Page of your wiki, then Extension and then Add Script.
Under Name: "Popup" and under Manifest: the location to which you uploaded the XML file.
Then, press Add new Key, enter name: script-location and value: Exact location of wz_tooltip.js (File from uploaded library)
Samples
To create a hover popup with given section of another page:
{{
var title = "Screenshot";
var link = "Deki/Extensions/Hover_Popup_Navigation";
var text = wiki.page(link,title);
popup.show(title,link .. "#" .. title, text);
}}
{ { var title = "Screenshot"; var link = "Deki/Extensions/Hover_Popup_Navigation"; var text = wiki.page(link,title); popup.show(title,link .. "#" .. title,text); }}
To create a hover popup with given text and title:
{{
var title = "TITLE-YOU-WANT";
var link = "TITLE-OF-LINK";
var text = "TEXT-YOU-WANT";
popup.show(title,link .. "#" .. title, text);
}}
{ {var title = "Screenshot"; var link ="Deki/Extensions/Hover_Popup_Navigation"; var text = wiki.page(link,title); popup.show(title,link .. "#" .. title,text);}}
@methius, thanks for this but as I am a bit of a novice with Mindtouch, I am having some problems, mostly around the xml file. First, how do I download the Popup.xml file from this page? Do I just download the html file for the code and change the extension? Second, what is the 'script location' that should be put into the key field? Lastly, is it possible to have this set to popup the description for an attached file when hovering over the link for it? Would be a very useful feature. Thanks for your help.
http://www.walterzorn.de/en/tooltip/tooltip_e.htm