Pages

Saturday, October 22, 2011

How to create one link to 2 address


This posting will discuss about how to create one hyperlink that when it's clicked it will go to 2 url address. Click this link to see the example. Just add onclick event and target of your hyperlink. Below is the code :

<a href="http://www.blogger.com" onclick="window.open(http://www.google.com)">2 Link 1 click</a> 

No comments:

Post a Comment

Don't Forget To Join Our Community
×
Widget