垂直CSS导航链接标题导致焦点丢失
我网站的旧版本使用垂直导航栏。 我无法添加“标题”属性,因为当指针位于弹出标题上时,这些属性会导致子菜单失去焦点。
任何人都有处理此问题的经验以及可用于解决此问题的代码以供将来参考之用?
请向我推荐您可能觉得有帮助的任何指南。
An older version of my site used a vertical navigation bar.
I was unable to add 'title' attributes as these would result in loss of focus on a sub menu when the pointer was on the title popup.
Anyone have any experience with dealing with this and code that can be used to resolve this issue for future reference purpose?
Kindly refer me to any guides that you may feel of assistance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想删除 ul 中的标题属性。从 SEO 的角度来看,这并不那么重要。
I would like to remove the title attribute in the ul. It's no so important from a SEO point of view.
自从我问这个问题以来已经有一段时间了,对于任何遇到这个问题的人来说,我不得不删除水平导航列上的标题。不过,当使用不言自明的名称时,这不应该成为问题。
这个问题也可以通过调整 CSS 高度、宽度和相关元素的位置来解决。
It's been a while since I asked this and for anyone stumbling on this, I had to remove titles on my horizontal nav column. This should not be an issue though when using self explanatory names.
This problem can also be fixed by adjusting CSS hights, widths and positioning of related elements.