You are here: irt.org | FAQ | JavaScript | Window | Q1483 [ previous next ]
Use an onClick event handler on each link that leads to a remote site:
<html> <head> <title>test</title> <script language="javascript"><!-- function goExit() { nextWin=window.open('http://www.irt.org/script/509.htm','lastWin','status=no,resizable=yes,scrollbars=no,location=no,left=0,top=0,width=400,height=400'); } //--> </script> </head> <body> <p> <a href="http://www.irt.org/" onClick="goExit()">remote link</a> <br> <a href="local.htm">local link</a> </p> </body> </html>