链接到在Firefox中不工作的ID - 在Chrome / Safari中工作 [英] Linking to an id not working in Firefox - Working in Chrome/Safari
问题描述
我试图链接到Rails应用程序中另一个页面上的特定ID。我所针对的html标记是:
< h3 id =about>关于< / h3>
当我手动将localhost:3000 /#关于浏览器地址栏时,它会打开在Chrome和Safari的页面中找到正确的位置。但是当我将这条路径粘贴到Firefox中时,它似乎停滞不前 - 它在第一页的中途打开。然后,如果我再次在地址栏中输入我的键盘上的内容,它就会进入正确的位置。
有什么想法可能导致这种情况?好奇心,如果我遵循正确的约定,并已经看过这个优秀的帖子 - HTML锚'姓名'或'ID'?。
任何建议或想法,将不胜感激!谢谢
同样的问题对我来说,在所有的浏览器上工作,但用firefox,没办法。
你可以在这里看到: http://dm-investor.tn/guide- annuaire
点击演示或联系。
I am trying to link to a specific id on another page in a rails app. The html markup that I am targeting is:
<h3 id="about">About</h3>
When I manually put localhost:3000/#about into the browser address bar, it opens up to the correct spot in the page in Chrome and Safari. But when I paste that path into Firefox, it seems to stall - it opens up midway through the first page. Then if I hit enter on my keyboard again in the address bar, it goes to the correct spot.
Any ideas what may be causing this? Curious if I am following the correct conventions and have already taken a look at this excellent post - HTML Anchors with 'name' or 'id'?.
Any suggestions or ideas would be appreciated! Thanks
same problem for me , working on all browsers but with firefox , no way.
you can see this here: http://dm-investor.tn/guide-annuaire
click on presentation or contact.
这篇关于链接到在Firefox中不工作的ID - 在Chrome / Safari中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!