<script type="text/javascript" language="javascript">
        $(function() {
            var url = (window.location.href + "").toLowerCase();
              if (url.indexOf("/Untitled-1.html") > 0 || url.length < 24) {
                $(".a").addClass("b");
            }
            else {
                $(".a").hover(function() { $(this).addClass("b"); }, function() { $(this).removeClass("b"); });
            }
            $(".c .d").hover(function() { $(this).addClass("hover"); }, function() { $(this).removeClass("hover"); });
        });
    </script>
/为什么我地址有Untitled-1.html这个的时候,它不执行IF里的$(".a").addClass("b");却执行ELSE里的语句~~是哪里出错了吗?