2 Links in One

liunx

Guest
Hello,<br />
<br />
Does anybody know if it is possible to have two URLs' to one <a href""></a>.<br />
If so how is it done? <br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"link.html" href="index.php?&m=1"></a><!--content-->Not with HTML.<!--content-->What you can do is call a function which executes the two different hrefs. Then you only have to call the function and the functions executes/opens the urls. You can do this with JavaScript.<!--content-->If what you need to do is CRITICAL for site operation then JavaScript is not the way to go. I suggest the use of a ServerSide Script (PHP, JSP, ASP, etc). If this is a critical need for the site and you use JavaScript for it, the site will not be accessible. :)<!--content-->
 
Back
Top