[pmwiki-users] Popup messages

Tegan Dowling tmdowling at gmail.com
Sat Oct 28 15:59:23 CDT 2006


On 10/28/06, Dominique Faure <dominique.faure at gmail.com> wrote:
> On 10/28/06, IchBin <weconsul at ptd.net> wrote:
> > Say I have a paragraph of text or a list of terms displayed on a page.
> > In that paragraph or list I may have n->terms that I would like to be
> > able to display its definition. I really do not want to load a page of
> > definitions and then reference directly to it with a [[#term]]. I would
> > like to stay on the same page as the term.
> >
> > When the user hovers over a term I can popup a small message window with
> > its definition. Something on the lines of a queued process on a word
> > hover. Then I guess it would be more like a XMLHttpRequest call. Hope my
> > question make sense.
> >
> > Just wondering if there are any recipes, or part of a recipe, that could
> > help me or get me going in the right direction? Do people build recipes
> > that can utilize javascript.  Sorry, I do not have a clue.
> >
>
> You may have a look at DomTT!

Markup Extensions recipe, at
http://www.pmwiki.org/wiki/Cookbook/MarkupExtensions, includes markup
for {abbr|abbreviation} and {:term:definition}.

I would love to have a way, presumably with a javascript recipe, to do
actual pop-up windows, though.  An extension of %newwin%, I would
hope, but allowing one to specify dimensions, title, and position on
the screen.  Anyone have such a thing, OR can anyone tell me if this
would work -- say, if I were to enable html on the pages where I
wanted to use it, and then find some standard method?




More information about the pmwiki-users mailing list