![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Web Programming, Web 2.0 and Mashups New forum all about Web Programming including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calling a perl script from a perl script | new2ss | Shell Programming and Scripting | 3 | 02-06-2007 07:17 PM |
| Perl: Run perl script in the current process | vino | Shell Programming and Scripting | 10 | 12-09-2005 06:45 AM |
| need script for passwd , can't use expect tool | Nicol | Shell Programming and Scripting | 26 | 06-23-2005 06:12 PM |
| Log Rotation Tool/Script | yelalouf | Shell Programming and Scripting | 4 | 12-17-2003 05:27 PM |
| Script tool | yotoruja | Shell Programming and Scripting | 4 | 10-31-2003 07:10 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Tool Tip on a Perl CGI script
Hi,
I am writing a perl script using Perl CGI. There are various HTML tables and forms involved in this. Now I wanted to add a tool tip to the elements here but I am not able to find documentation on how to do it. Can anyone help? Thanks in advance. Regards, garric |
| Forum Sponsor | ||
|
|
|
||||
|
I'm not exactly sure if this can be of any help, but let me try
I found it after someone's claim that there will be such perl module available in CPAN, but I couldn't find such. |
|
|||
|
Depends how you would like to get the tool tips to appear, and on what kinds of elements. There are mostly two ways I can think of: plain HTML or Javascript/DHTML.
For instance, on many HTML elements you can use the 'title' tag attribute and many browsers will render its value as a tool tip. However, in the past I have used this on image and anchor. Not tried on other elements. Otherwise, some people may use some Javascript/DHTML that dynamically creates a floating object containing the text at the given mouse location (as captured by the onmouseover event listener). However, this requires the browser with Javascript enabled and the script may be browser-dependent (to some extent). The javascript library listed is an example. This does not have much to do with Perl, so it is not at all surprising that you are unable to dig anything up in the Perl docs. |
|
|||
|
The basic technique is to use CSS. Something like the dotted underlines in HTML 4.01 Tutorial : Borders perhaps?
Last edited by era; 07-24-2008 at 11:10 PM. |
|
|||
|
Quote:
|
|
|||
|
Thanks for the replies..
I am looking for some dynamic and some static tool tips. For example, if I point to a particular entry in a html table, I want to be able to query some for some information and show it on a tool tip. @sysgate: Is that javascript module you have suggested copyrighted? Can it be resued? |
|||
| Google The UNIX and Linux Forums |