搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

named anchors not working appropriate anymore

  • 2 回覆
  • 44 有這個問題
  • 1 次檢視
  • 最近回覆由 marcelboere

more options
I am in the middle of developing a website for mobile use with named anchors to navigate through the page. Today I received a FireFox 3.6.10 update and since then it is not working anymore. I use

<p> for the anchor and <a href= "#anchorname">go to my anchor</a>for the link. In FireFox 3.6.10 you have to select the named anchor twice, because at first click the page is being reset to the top position. Only after clicking another time the url is directed to the anchor. This problem is only present in FireFox 3.6.10, I have tested on older versions and other browsers and there my page is functioning as expected.

I am in the middle of developing a website for mobile use with named anchors to navigate through the page. Today I received a FireFox 3.6.10 update and since then it is not working anymore. I use <p id="myanchorname"><p> for the anchor and <a href= "#anchorname">go to my anchor</a>for the link. In FireFox 3.6.10 you have to select the named anchor twice, because at first click the page is being reset to the top position. Only after clicking another time the url is directed to the anchor. This problem is only present in FireFox 3.6.10, I have tested on older versions and other browsers and there my page is functioning as expected.

所有回覆 (2)

more options

somewhere the layout for the anchor i provided was filtered, i will post it here again with spaces between the characters used. Remove these to get the real code:

anchor: < p i d = "a n c h o r n a m e "< / p>

more options

somewhere the layout for the anhor i provided was filtered, i will post it here again with spaces between the characters used. Remove these to get the real code:

anchor: < p i d = "a n c h o r n a m e "< / p>