1次点击打开超过1个链接html
我制作了一个页面,将所有链接放在一起。每个链接都会打开不同的网站。我必须一一点击才能打开它们,有 20 个链接,所以每次都需要很长时间。有谁知道我该如何做到这一点,以便当我仅单击 1 个链接时它会打开所有链接?
I made a page which I put all links next to each other. Every link opens different website. I have to click one by one to them in order to open them and there are 20 links so it takes while everytime. Is there anybody knows how can I make it so when I click only 1 link it opens all of them ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 JavaScript 来完成此操作,但弹出窗口拦截器和其他内容会妨碍您。
您正在寻找
window.open()
。如果是我,我会使用 NSIS 构建一个一体化安装程序,或者至少将安装程序压缩到一个 ZIP 文件中进行分发。
You can do this with JavaScript, but popup blockers and what not are going to get in the way.
You're looking for
window.open()
.If it were me, I'd just build an all-in-one installer with NSIS, or at least zip the installers into one ZIP file to distribute.