ie6下href="javascript:void(0)" 与 document.location="a.html" 不兼容
<a href="javascript:void(0);" οnclick="document.location='a.html'">跳转到a.html(失败)</a>
<a href="#" οnclick="document.location='a.html'">跳转到a.html</a>
以上2个链接ie7,ff都支持的,只有ie6只支持第二个,所以要想兼容须用第二个