View Full Version : onmouseover-out(colors)
FrEaKmAn
September 16th, 2005, 07:20 PM
Hi guys I need one thing. I'm working on one site and I have one problem..
I use this - onMouseOver="this.bgColor = '#FF3300'" onMouseOut="this.bgColor = '#cccccc'"
but the problem is for mouseover tag because I need special color(d65529 or something similar), which isn't supported. What should I do?? Is it possible to put image???
degsy
September 16th, 2005, 08:09 PM
What do you mean it's not supported?
The mouse over will use any valid code you enter.
If you can't get that colour then how are you going to get an image of that colour?
FrEaKmAn
September 16th, 2005, 11:03 PM
the tag is supported but the color that I want isn't..is not web color...about image- like if I go with my mouse over it it should show backround image, if that is possible..
degsy
September 17th, 2005, 02:42 AM
Most monitors/graphics cars support 16 million colours. If you can't find a suitable colour out of that then I guess no one can help you.
FrEaKmAn
September 22nd, 2005, 04:28 PM
what is the code to change the font color??? with mouseover
degsy
September 22nd, 2005, 05:37 PM
this.style.color=
FrEaKmAn
September 22nd, 2005, 07:09 PM
nice..tnx man for helping
do you know more of this codes..some useful???
degsy
September 22nd, 2005, 07:14 PM
If you are into CSS and want to use it with javascript then use
this.style.cssText=
e.g
this.style.cssText='background-image: url(myimage.jpg); background-color: black; color: white;'
FrEaKmAn
September 22nd, 2005, 07:21 PM
thank you thank you...I'm open for this kind of things..
what about link..all links that I have are underlined..how to cancel this??
rockboy
September 23rd, 2005, 04:30 AM
This CSS page has what you're looking for...
http://www.htmlhelp.com/reference/css/text/
text-decoration:none
FrEaKmAn
September 23rd, 2005, 02:00 PM
thanks