srdst13 has asked for the wisdom of the Perl Monks concerning the following question:

A very simple question, more javascript than perl, I suppose, but the app is in perl, so....

On an imagemap, I want to present a 5-8 line menu as a tooltip when I move over specific locations on the imagemap. Do any of the javascript libraries to which there is perl glue (prototype, etc) provide such a function? (I couldn't find direct mention.) Any examples of doing this that anyone can offer?

Thanks,
Sean

Replies are listed 'Best First'.
Re: Tooltip menus in web apps
by jdtoronto (Prior) on Jun 04, 2006 at 14:31 UTC
    Nothing Perlish at all, you need the JavaScript 'onMouseOver' event. If you are dynamically generating the HTML, say with CGI, you can generate the event code there.

    Update: Further searching found HTML::Tooltip::Javascript which is apparently an interface to a GPL'ed tooltip library.

    jdtoronto