homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Activating Links
Click on the First link, Activates the Second.
Darkgrammer




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

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




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

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>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved