open double links in one click Html

hello everyone I am going to how to open double links on one click

Lets started : 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:

Watch example

<*a href="#" onclick="window.open ('http://google.com'); window.open('http:// yahoo.com');">Click to open Google and Yahoo<*/ a>*p>

remove stars enjoy .

Post a Comment

0 Comments