in reply to PERL, JAVA and HTML
The following js (with apologies) snippet, will open a new window from a standard <a href=...></a> (and should work with the button thing you describe) and leave (or rather return) the existing window to the place it started without requiring the multi-levels of indirection you are currently using. I have tested this with my two available browsers, Opera 6 and IE 5.5...the rest is up to you.
<html> <body> <a href= "javascript:window.open( 'test.htm','_blank', 'width=100, hei +ght=100');history(-1);"> test </a> </body> </html>
|
|---|