Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q664 Is it possible to open up a new, small window using a text link instead of a button, also is it possible to have more than one per page?

You are here: irt.org | FAQ | JavaScript | Window | Q664 [ previous next ]

Try:

<SCRIPT LANGUAGE="JavaScript"><!--
function myOpen(url,name) {
    window.open(url,name,'width=200,height=200');
}
//--></SCRIPT>

<A HREF="javascript:myOpen('http://www.irt.org/','window1')">irt.org</A>

<A HREF="javascript:myOpen('http://www.irt.org/script/','window2')">JavaScript FAQ</A>

©2018 Martin Webb