This is a suggestion from one of my friend by name Anand, who asked me whether it is possible to open multiple windows or links with one single click. He also suggested that he has a set of codes, but it doesn’t work on Blogger.
Let’s see how to implement this for Blogger.
Step 1: Create a normal link as shown using <a> tag:
<a href=”Your_Frist_URL” target=”_blank”>Your Link To Click</a>
Step 2: Now add one more link to the above code as:
<a href=”Your_First_URL” target=”_blank” onclick=”window.open(""Your_Second_URL"");”>Your Link To Click</a>
At this point on a single click it would open 2 links.
Step 3: To open a third link to the above code, you can modify the code as:
<a href=”Your_First_URL” target=”_blank” onclick=”window.open("Your_Second_URL"); window.open("Your_Third_URL");”>Your Link To Click</a>
By this way you can create to open more than 3 URLs by following the above method.
Live demo below:(click below link to open 3 windows/tabs)
The above demo code i s coded as shown below:
<a onclick=”window.open("http://www.itechcolumn.com/2011/07/privacy-policy.html"); window.open("http://www.itechcolumn.com/2011/11/30-photoshop-alternatives-to-know.html")” href=”http://www.itechcolumn.com/” target=”_blank”>Your Link To Click</a>
copy paste the above code and try it in your site whether it works.
Blogger help:
The above code can be used and pasted anywhere on your Blogger to work instantly. Hope you enjoy learning and trying this trick. Thanks for reading.
Word of caution:
Be cautious while using it on your site because it can annoy your users and they may go crazy
~iTechColumn

The post How To Open Multiple Windows Or Links With One Click For Blogger appeared first on iTechColumn.