Advertisement
nPhoenix

Abrir dois links ao mesmo tempo.

Jul 1st, 2012
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.23 KB | None | 0 0
  1. <script type="text/javascript">
  2.     link1 = "http://link1.com.br";
  3.     link2 = "http://link2.com";
  4.     // Não apague os " nem os ;.
  5. </script>
  6. <a href="#link" onClick="location.href=link1; this.href=link2;" target="_blank">oie</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement