How can I open two pages from a single click without using JavaScript?

前端 未结 6 1358
时光说笑
时光说笑 2020-12-13 19:38

I have some text in a link. When I click on it I must open 2 pages. No problem here... but the trick is that I am not allowed to use JavaScript. Is this possible only with H

6条回答
  •  旧时难觅i
    2020-12-13 20:13

    Without JavaScript, it's not possible to open two pages by clicking one link unless both pages are framed on the one page that opens from clicking the link. With JS it's trivial:

    Click to open Google and Yahoo

    Do note that this will be blocked by popup blockers built into web browsers but you are usually notified of this.

提交回复
热议问题