Skip to content

Instantly share code, notes, and snippets.

View SeanBannister's full-sized avatar

Sean Bannister SeanBannister

View GitHub Profile
@frontenddeveloping
frontenddeveloping / javascript-tabs.html
Last active February 13, 2018 21:08
My example can open many links in tabs, not in new windows. Why need this and do not use window.open? Because there is the problem - if you call once window.open it will open new tab or window(it depends of browser), if will call window.open two or more times - first will open like tab/window and all next in the new window only. The individual b…
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Open 3 tabs</title>
<script src="http://codeorigin.jquery.com/jquery-1.10.2.min.js"></script>
</head>
<body>
<div id="hidden_div"></div>
<script>