Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006


Will the realization of how to form a loop or td OnMouseOver change the background color effects?

To achieve par before, or TD singing background color when the mouse on the slide, are using onmouseover= "this.style.backgroundColor= '#333'; "onmouseout=" this.style.backgroundColor= '';
To achieve, it is necessary for each loop, and had TD singing or write OnMouseOver. . . . . .
But now it seems that CSS could see the direct effect of this realization
Is it how?

A TD for example, set up with a common expression pattern (onmouseover, onmouseout) so that the background color when the mouse on the slide
[html]
"Style>
. MyOver {myOver:expression (onmouseover=function () {bgColor= "red"), onmouseout=function () {bgColor= "yellow")))
"/style>
"Table width=" 100% "bgcolor=" blue ""
"Tr><td height=15 class=myover></td></tr>
"Tr><td height=15 class=myover></td></tr>
"Tr><td height=15 class=myover></td></tr>
"Tr><td height=15 class=myover></td></tr>
"Tr><td height=15 class=myover></td></tr>
"ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1127825915"> </o:OLEObject>

[/html]

So very grateful 啊~





 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com