Welcome to WebmasterWorld Guest from 54.145.44.134

Forum Moderators: open

Message Too Old, No Replies

Activating Links

Click on the First link, Activates the Second.

     

Darkgrammer

4:02 pm on Oct 11, 2004 (gmt 0)

10+ Year Member



How do I make it so when a user clicks on a link and activates a second one?

Can anyone give me the HTML code for that, thnxz.

colintho

5:38 pm on Oct 12, 2004 (gmt 0)

10+ Year Member



you can use something like the example below, opens a new window with javascript to one webpage, whilst opening a "text link" to another (you can change most of the variables replace yes with no)

<a onClick="NewWindow=window.open('http://www.google.com','NewWindow','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=500,top=,left=');" style="text-decoration: none" href="http://www.yahoo.com">Open two pages with one click - Google and Yahoo</a>

 

Featured Threads

Hot Threads This Week

Hot Threads This Month