搜索 | 用户支持

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

详细了解

Navigation buttons on this website don't work with Firefox 5

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

more options

Go to www.tbg.nu Open any topic with more than 1 msg Click on "Next" or "Prev" at the top. Works fine in Firefox 4 but broken in 5.

Go to www.tbg.nu Open any topic with more than 1 msg Click on "Next" or "Prev" at the top. Works fine in Firefox 4 but broken in 5.

所有回复 (3)

more options

Looks like a problem with the code with A.click that is used. Firefox 5 supports click on more elements that previous versions.

onclick="if(document.getElementById('i18').click){i18.click();}else{location.href='/news_show/xxxx';}"
Warning: Element referenced by ID/NAME in the global scope. Use W3C standard document.getElementById() instead. Source File: http://www.tbg.nu/news_show/165859/30 Line: 1

more options

I forwarded your suggestion to the webmaster of the site and the code has now been updated to use document.getElementById() but the problem remains. Do you have any other suggestions?

more options

It looks like Firefox doesn't navigate to the link in that A element, so it would be best to only leave the location part of the onclick code.

onclick="location.href='/news_show/xxxx';"