if($($(this))[0].href==String(window.location))

$(document).ready(function(){
$("li>a").each(function(){
if($($(this))[0].href==String(window.location)){

$('li>a').removeClass("nav-li-checked");

$(this).parent().addClass('nav-li-checked');
if($(this).text()=="关于我们"|| $(this).text()=="公司资讯" || $(this).text()=="注册信息" || $(this).text()=="精英团队" )
$("#about").addClass('nav-li-checked');
}
});

});

if($($(this))[0].href==String(window.location))什么意思?

$($(this))写这种出来的人脑子被驴踢了。。就是判断当前遍历到的a对象是否和浏览器地址栏显示的内容一样
直接下面的就行了
if(this.href==window.location.href){

就是给导航条连接加高亮样式用到