• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Is it possible?

#1
Is it possible to have a single link point to 2 seperate locations? (eg. click on 1 link and it opens 2 different windows... each on seperate pages)
Just a thought I had tonight.
 
#2
Sure, with a little Javscript it's a small deal:
PHP:
<SCRIPT>
function openDouble(){
	window.open("page1.html","Window1","");
	window.open("page2.html","Window2","");
}
</SCRIPT>

<A HREF="javascript: openDouble()">Two links in one!</A>
Or something similar anyway. Hope it helps! :)

<edit>"java script" is supposed to be "Javascript" (one word). The code parser is a bit strange. ;)</edit>
 

Tabula Rasa

Stranger Than Kindness
Political User
#5
I don't think it is possible in a simple <a href> , but what you can do is link to a page on the server that will open 2 addresses ,that page will also be Java or PHP or ASP , so i think its just better to do it in Zedric's way.
 
#7
Originally posted by cruiser78
why isn't it possible to make a double link with nested <a href> tags?
I don't think anyone thought it would be necessary or even usefull when they made the HTML specs. It was a while back you know. When pages where grey with plain text on them basically. :) So single targets only for the A-tag.
 
#9
HA... me laughs at you :D

A v6 wouldn't stand a chance against that Z28... it'll break the tires free on dry pavement going straight... AND it's an auto so that's just from punching it, not from dropping the clutch (not that you'd have to in a Z28 with a manual neways).. and right now I've got a v6 camaro so I know what a v6 is like in a muscle car... it SUCKS.

your '99 'stang might stand a chance... if it's a v8 and not a 6.

by the way that car isn't mine... it was my mom's till she sold it... She was gonna give it to me for $4000 cdn but 3 days b4 I was gonna fly down her neighbor offered her $8000 so she sold it to him instead.
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies