Click to See Complete Forum and Search --> : 2 Links in One
davidbrent
04-26-2004, 08:21 AM
Hello,
Does anybody know if it is possible to have two URLs' to one <a href""></a>.
If so how is it done?
<a href="link.html" href="index.php?&m=1"></a>
Robert Wellock
04-26-2004, 08:38 AM
Not with HTML.
JayDie
04-26-2004, 09:48 AM
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.
PhillMc
04-26-2004, 01:23 PM
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. :)