Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

A forum I visit has a 'Top' button which returns you to the top of page - this feature works on all other browsers except Firefox.

  • 7 trả lời
  • 1 gặp vấn đề này
  • 3 lượt xem
  • Trả lời mới nhất được viết bởi paparoo

more options

This forum has a 'Top button at the bottom of each page. Clicking on it does the same function as hitting the Home button, which is, it brings you to the top of the page. It works on other browsers, but does not work with Firefox.

This forum has a 'Top'' button at the bottom of each page. Clicking on it does the same function as hitting the Home button, which is, it brings you to the top of the page. It works on other browsers, but does not work with Firefox.

Giải pháp được chọn

There is no element with a name or id "top" on that page and without it Firefox won't work.


javascript:(function(){var d=document,N;N=d.body.firstChild;N=N.parentNode.insertBefore(d.createElement("A"),N);N.setAttribute("name","top");})();
Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (7)

more options

Does that top button have a link to an existing anchor on that page?

Something like #top isn't enough if such a link doesn't exist.

<a name="top"></a>
more options

I have no idea what you're asking. How do I find out?

more options

?????

Được chỉnh sửa bởi paparoo vào

more options

What is the location of the link if you hover the link with the mouse?

If that is #top and adding #top to the URL in the location bar doesn't have effect then that anchor tag is not present.
You can also check the page source via View > Page Source (Ctrl+U).

more options

OK, let's see..

This is what I got:

http://www.abovetopsecret.com/forum/thread732164/pg1#top

more options

Giải pháp được chọn

There is no element with a name or id "top" on that page and without it Firefox won't work.


javascript:(function(){var d=document,N;N=d.body.firstChild;N=N.parentNode.insertBefore(d.createElement("A"),N);N.setAttribute("name","top");})();
more options

I have passed your conclusion onto the forum admin, and have been rewarded with silence. But your suggestion seems very logical and likely to work, and I want to thank you for your quick response. As far as I'm concerned, you've SOLVED the issue. Thanks again.

paparoo