Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referring to the object as this
Message
 
 
To
07/04/2008 14:47:48
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01308809
Message ID:
01308822
Views:
11
Yes, the problem seems to be in the color. Not sure why, though:

//string onmouseoverStyle = "this.style.backgroundColor='00BFFF'"; // Deepskyblue
string onmouseoverStyle = "this.style.backgroundColor='blue'";

Commented code doesn't work and this code works, but I want my color to be lighter.

Do you see what's wrong?

Thanks a lot again, I think I would switch to a method later.

UPDATE. My colleague found the problem in a second.

It should be:

string onmouseoverStyle = "this.style.backgroundColor='#0bf'"; // Deepskyblue

missed # in front.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform