I would like to make a link that will open up destination 1 in a target, and another destination in another target. It's pretty simple when doing one.
<a href="home.html" target="target1"> home</a>

This can be accomplished using JavaScript.

<script type="text/javascript">
function newwindow()
{
window.open("http://www.w3schools.com");
window.open("http://www.chatroulette.com");
} 
</script>

<a href="javascript:newwindow()">Click Here!</A

I'm not sure which targets you want the links to display in. The code above will display the first link in the current tab, and the second link in a new tab.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.