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

Re: alternating row colors

by Gloom (Monk)
on May 18, 2001 at 14:21 UTC ( [id://81462]=note: print w/replies, xml ) Need Help??


in reply to alternating row colors

Something like :
$color = ( $bool = ! $bool ) ? "#AAAAAA" : "#DDDDDD";
Only single line ... and it's maybe somewhat efficient =) ( no matter here )
_____________________
Hope this helps

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://81462]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-25 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found