Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link to 2 Destinations? 1

Status
Not open for further replies.

SamHale

MIS
Mar 7, 2004
71
GB
Hey, I think i've seen it done, but not entirely sure.
Is there a way to link two different pages via one link.

Such as, if you click Enter, you are taken to the welcome page, and a popup window has another link.

I do not want a popup page on the Welcome page. As I do not want the popup link to be viewed everyone you visit the Welcome page, only when the Enter link is hit.

(this is basicly for new viewers to the site.)

If I had and someone new visited the site, then I would want the link to open up the 2 pages.

Where as if someone who already visits the page came, they would instantly go to as they know the directory is a enter page.

Hope I have made myself clear :/
I find it hard to explain what I think, if ya get what I mean..

Thanks, Sam.
 
Sam,

This should do the job for you:

Code:
<a href="[URL unfurl="true"]http://www.yahoo.co.uk/"[/URL] onclick="var winHandle=window.open('[URL unfurl="true"]http://www.google.co.uk/',[/URL] 'myPopupWin', '');">link</a>

Hope this helps,
Dan
 
Hey,

Thanks Dan, that works perfect :)
Glade you could understand me.

sAm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top