Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referring to the object as this
Message
 
 
À
07/04/2008 14:47:48
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01308809
Message ID:
01308822
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform