CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Alternate Row Colors (onmouse over)

Print topic Send  topic

Author Message
phaider

Posts: 37
Posted: 11/19/2008, 1:09 PM

Hello,

i want to change the style (background color of the row) of a grid depending on the mouse.

I do NOT want to use CCS option to have alternate Row colors, i want to change the Background Color of the row depending on the mouse position (onmouseover / onmouseout in the <tr> tag). i have seen an website where it works, but did not see the JS function.

Has oneone of you made such a request (and has tips and/or links for me?)

Regards

Peter
View profile  Send private message
Gena

Posts: 591
Posted: 11/19/2008, 1:20 PM

Yes, I have made this on my site. for example, look here
http://motleysoft.com/ProductDetail.php?ProductID=86&p=2

each rows in prices table has this feature.

HTML for tr looks like

<tr onmouseover="this.bgColor = '#E3F4FF'" onmouseout="this.bgColor = '#fffefb'">
_________________
Gena
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.