Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover functionality

Status
Not open for further replies.

Mattwatters

Technical User
Dec 2, 2003
7
0
0
GB
Hi

I am writing a perl script which prints out a html table containing various variables. I was wondering if anyone would know how to add on mouseover functionality so that when the mouse goes over the text or variable inside the table a pop up window pops up

print OUT1 &quot;<td>&quot; . $average . &quot;</td>&quot;;

i.e. when the user hovers over $average which is an integer a pop up window appears. I will add functionality to the pop up window at a later date.

Hope this isnt in the wrong forum.

Cheers
 
sort of is the wrong forum, sort of isn't
Writing Javascript code from Perl is easy ... when you know how, and its far from easy when you don't

first off
print OUT1 &quot;<td>&quot; . $average . &quot;</td>&quot;;
is the same as
print OUT1 &quot;<td>$average</td>&quot;;

Javascript form Perl is such a bugger coz its so hard to debug. mbrooks is right, get the javascript syntax right, and if you're having probs generating the HTML, by all means, get back
--Paul


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top