View Full Version : Can a single text link point to two different web pages?
spobitsseo
07-24-2017, 01:46 AM
Can a single text link point to two different web pages?
reckonbilling
07-24-2017, 01:59 AM
yes,it can be done by using this code <a href=”http://www.xyz.com” on click=”window.open(‘http://www.abc.com’);return true;”>two links </a>
dennis123
07-24-2017, 03:51 AM
It is not possible with pure HTML. You should write javascript function for that.
For example
function doubleopener(){window.open("smth"); document.location="smth";}
then to put it to a link
<a href="javascript://" onclick="doubleopener()">link</a>
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.