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
When you are checking if an element has or does not have a class, make sure you didn't accidentally put a dot in the class name:
$('div').hasClass('className');
$('div').hasClass('.className'); #will not work!!!!
After a long time of staring at my code I realized I had done this. A little typo like this took me an hour to figure out what I had done wrong. Check your code!