为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

links with mouseovers not working

  • 2 个回答
  • 13 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

When I go to sites built by yellowpages.com using Firefox 5, the top navigation doesn't work. The link shows correctly, but when I click on it, I don't go to that page. This only happens on navigation where mouseovers are used. An example is http://blueeagleroofing.onyellowpages.com. I've tried the page on Firefox 4 and IE 8, and the links work as expected.

While troubleshooting, I restarted in safe mode with all addons disabled and set my preferences back to default. Neither of these changed the problem.

When I go to sites built by yellowpages.com using Firefox 5, the top navigation doesn't work. The link shows correctly, but when I click on it, I don't go to that page. This only happens on navigation where mouseovers are used. An example is http://blueeagleroofing.onyellowpages.com. I've tried the page on Firefox 4 and IE 8, and the links work as expected. While troubleshooting, I restarted in safe mode with all addons disabled and set my preferences back to default. Neither of these changed the problem.

由hogwashjoe于修改

所有回复 (2)

more options

My buttons do not work with Firefox 5, and appears to be only Firefox 5. I believe I am experiencing the same as this poster.

Here is an example of the buttons not working in Firefox 5, http://bw3pg.onyellowpages.com.

I've had this site this and many other similar sites for years now. It has always been working in Firefox until Firefox 5. I've checked FF3.6 and the buttons are fine there. In addition to IE8 and FF4, I also notice the buttons work just fine with IE9, Chrome 12.

more options

Firefox 5 supports a click() function, but doesn't allow to open a new URL that way.

Firefox 3 doesn't support the click and throws an exception that uses location = url;


function TG_doLink(url, target, args)

magicLink = document.getElementById("TGLink");

magicLink.href = url;
magicLink.target = (target ? target : "_self");
magicLink.click();

<a id="TGLink" style="display:none;" href="#">lnk</a>