2012-01-13 52 views

回答

1

onload_frontend.js中有一些脚本阻止所有链接工作。它绑定到所有标签上的click事件并取消将重定向到href中的url的默认操作。需要删除该代码才能使链接正常工作。

$('a').click(function() { 
    event.preventDefault(); 
    return false; 
}); 

http://api.jquery.com/event.preventDefault/

菜单链接在IE浏览器,因为代码不工作。单击链接时会引发以下错误,以便执行默认操作;即该页面被重定向。

"Object doesn't support property or method 'preventDefault'" 

如果您在IE中使用开发人员工具并在代码上设置断点,您将看到该错误。

+0

upss。有人在睡觉;)谢谢 – jribeiro 2012-01-16 12:33:03