In jQuery I need to do an if statement to see if $this doesn\'t contain the class \'.selected\'.
$(\".thumbs\").hover(function(){ $(this).stop().fadeTo(\"no
Use the "not" selector.
For example, instead of:
$(".thumbs").hover()
try:
$(".thumbs:not(.selected)").hover()