Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Java script question

by myocom (Deacon)
on Aug 02, 2001 at 22:24 UTC ( #101735=note: print w/replies, xml ) Need Help??


in reply to Java script question

I can't say that I'm a javascript expert, but I do know a bit of Perl that will at least make this more readable. Use the q quotelike operator, and you won't need to escape all of your double-quotes.

print q|<a href="index.html" ONMOUSEOVER="javascript:pop('Average leng +th of game played','#CCCCCC')"; ONMOUSEOUT="kill()">AVERAGE</a>|;

Update: Naturally, add the standard "use CGI!" advice...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://101735]
help
Chatterbox?
[marto]: it makes things less stressful for the parents that's for sure :P
[Corion]: Yeah (although their mother was somewhat stressed out regardless) - but it made for an otherwise relaxed evening ;)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2016-12-08 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.