So, I have a:
#selection_menu .secondary_options button:hover { color: #000066; }
and it works great on my site ..
When I click one of these buttons, I run the javascript function, which contains:
$('button').css("color","#FFFFFF"); if(!$sameTile) $($tileSelector).css("color","#000066");
Thus, when a button is pressed, the highlight color is highlighted when the mouse is deleted.
The problem that I encountered is that after it is launched for the first time, the buttons stop changing color when highlighting. How can I get around this? Or is this normal behavior?
I am trying to add a class and I cannot get it to work: http://jsfiddle.net/sUKkb/1/
Another my code: index: http://pastebin.com/7gYu9YG8 css: http://pastebin.com/Jz1bvzrr
Or it might be more useful: http://staging.easyzag.com/style.css
Source view: http://staging.easyzag.com/index.php section = drink
source share