![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need script for passwd , can't use expect tool | Nicol | Shell Programming and Scripting | 35 | 07-20-2009 10:00 PM |
| Calling a perl script from a perl script | new2ss | Shell Programming and Scripting | 6 | 05-24-2009 05:03 PM |
| Perl: Run perl script in the current process | vino | Shell Programming and Scripting | 10 | 12-09-2005 10:45 AM |
| Log Rotation Tool/Script | yelalouf | Shell Programming and Scripting | 4 | 12-17-2003 09:27 PM |
| Script tool | yotoruja | Shell Programming and Scripting | 4 | 10-31-2003 11:10 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
|||||
|
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-25-2008 at 02:10 AM.. |
|
||||
|
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? |
| Sponsored Links | ||
|
|