-
1. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
nimo22 Mar 30, 2010 6:08 AM (in response to maxmcbyte)hello,
with css you can do that:
.rich-tab-inactive:hover {
color: blue;
}
-
2. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
maxmcbyte Mar 30, 2010 5:52 PM (in response to nimo22)Hello Nimo;
Thanks for that info! It is what I needed!
NOTE; there is *** no mention *** of this in the RichFaces Developer Guide that I can find.
If you search for "hover" you get a few hits but nothing with rich-tab.
So gleaning from your example for test a purpose I tried;
.rich-tab-inactive:visited {
color:RED;
}But that did not work.
The hover is working and I am happy.
Thanks Again!!!
-
3. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
maxmcbyte Apr 14, 2010 9:04 AM (in response to maxmcbyte)Turns out that I got a little ahead of myself because the following
.rich-tab-inactive:hover {
color: blue;
}
did *** not work *** with FireFox 3.6, nor IE 6.
I was able to get it working with FireFox 3.6 using the following;
/* FireFox fix to allow hover effects with FireFox*/
td.rich-tab-inactive:hover, tr.rich-tab-inactive:hover {
color:#FFCC00;
text-decoration: none;
font-size:18px;
}But I have have yet to figure out how to do it with IE6 without resorting to JavaScript.
Any ideas?
Thanks!
-
4. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
maxmcbyte Apr 14, 2010 9:13 AM (in response to maxmcbyte)Add IE8 to the list as well.
-
5. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
ilya_shaikovsky Apr 14, 2010 12:12 PM (in response to maxmcbyte)you could use the class that we applying on selection
.rich-tbpnl-tb-sel { background-color: red; background-image: none; }
-
6. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
maxmcbyte Apr 18, 2010 12:27 AM (in response to ilya_shaikovsky)Hello Ilya;
With your suggestion I changed it to
.rich-tbpnl-tb-sel {
color: #FFCC00;
text-decoration: none;
font-size: 14px;
}And got exactly what is needed!
This is the second time I have been provided info that I should be able to find myself.
I looked in the developers guide, the on-line-demo and a few other places and I cannot find any mention of ".rich-tbpnl-tb-sel".
Where is this documented?
Thanks for your help!
-
7. Re: How to change font color on rich:tab when user mouse is hovering over menu tab?
ilya_shaikovsky Apr 19, 2010 7:10 AM (in response to maxmcbyte)Unfortunatelly some classes could be missing in documentation.. And as 3.3.3 is the last release in 3.3.x branch I would prefer not to create specific issue on that. We will review the 4.x guide during movement carefully And if you believe that missed some usefull class in docs - just use Firebug to check all applied ones(as I actually done this )