Open 2 two links with just one click Javascript Simple Solution Tiny Code


example

<SCRIPT LANGUAGE=”JavaScript”>

function birtasikikus(site1, site2) {
window.open(site1);
window.location = site2;
}
</script>
</head>

<body>
<a href=”javascript:birtasikikus(‘http://www.yoursite.com/&#8217;, ‘http://www.yoursite.com/&#8217;);”>Click Here</a>
</body>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s