只需将鼠标悬停即可链接
我基本上想创建一个不需要点击的网站。
因此,当您将鼠标放在任何链接上时,无需单击即可转到该链接。
预先感谢您的帮助。
我目前正在使用 html 和 javascript。
I basically want to create a website where no clicking is neccessary.
So when you place your mouse over any link it goes to that link without needing to be clicked.
Thanks in advance for your help.
I am currently using html and javascript.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尽管这是可能的,但我强烈建议反对。您的访问者希望链接能够像平常一样工作。这个原则被称为可供性,打破这些期望会导致混乱和沮丧。
编辑:
话虽如此,这里有一个工作示例:http://jsfiddle.net/ uAaUE/1/
请尝试一下并亲自体验这与您的“链接”心理模型有何冲突。
Although this is possible, I would strongly advice against it. Your visitors will expect links to work the way they normally do. This principle is called affordance, and breaking these expectations will cause confusion and frustration.
Edit:
Having said that, here's a working example: http://jsfiddle.net/uAaUE/1/
Please try it out and experience for yourself how this clashes with your mental model of a "link".
从这里开始寻找灵感! http://dontclick.it/
Start here for inspiration! http://dontclick.it/