搜索 | 用户支持

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

详细了解

href anchor tags not working

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

more options

I am trying to add anchor tags into a webpage to enable us to link to specific sections of a rather long page.

I am using <a name="name"> which works in Chrome, Safari and IE, however in Firefox, it is constantly reloading the page.

An example of this is here http://www.sippcentre.co.uk/infocentre/Article/news-views-december-13#soft-closed

Am I doing something wrong?

I am trying to add anchor tags into a webpage to enable us to link to specific sections of a rather long page. I am using <a name="name"> which works in Chrome, Safari and IE, however in Firefox, it is constantly reloading the page. An example of this is here http://www.sippcentre.co.uk/infocentre/Article/news-views-december-13#soft-closed Am I doing something wrong?

所有回复 (3)

more options

Even though we're not here to support specific coding issues, I can't help you without seeing your code.

more options

Sorry, I thought this was just a message board for all types of queries.

The tag has been coded with the following:

<a name="soft-closed"></a>Soft-closed funds
more options

It looks that there is some JavaScript running on the web page that gets triggered by a hash (#) symbol in the URL in the location bar (document.location).
It works with JavaScript disabled.