This should be so simple, but it\'s not working for me. I want to say:
If this doesn\'t have the class \"current\" AND if the body class does not equal \"home\", then do
Try $("body") and &&:
$("body")
&&
if ( (!$(this).hasClass("current")) && (!$("body").hasClass("home")) ){ //...
Or this way , it is shorter:
if ( !$(this).is(".current") && !$("body").is(".home") ){ //...