RE: Resize Pop-up/Target Window

by Teressa Terry <TeressaTerry(at)BDRCO.com>

 Date:  Thu, 8 Mar 2001 12:44:55 -0800
 To:  "'Julie Johnston'" <Johnst(at)memo.acehardware.com>,
"'hwg-basics(at)hwg.org'" <hwg-basics(at)hwg.org>,
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
In the head:
<script language="JavaScript">
<!--
function openWin(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
//-->
</script>

In the link:
<a href="#"
onClick="openWin('SalesDemo.html','newWin','scrollbars=yes,resizable=yes,wid
th=720,height=625')">Your link</a>

You can set whatever sizes you want for the window.

Hope this helps.
Teressa

-----Original Message-----
From: Julie Johnston [mailto:Johnst(at)memo.acehardware.com]
Sent: Thursday, March 08, 2001 11:14 AM
To: 'hwg-basics(at)hwg.org'; 'hwg-techniques(at)hwg.org'
Subject: Resize Pop-up/Target Window


Hi everyone.  I'm creating an article for the web (using FP2000).  Within
the article, there will be links to terms mentioned in the article.  If
possible, I would like to have the links open in a new smaller sized window
(for example 450 pixels wide x 350 pixels high).  I know how to have the
link open a new window thru FP2000 (Create Hyperlink/Target Frame/New
Window), but I wasn't sure if it's possible to change the default size of
the linking window.  I'd appreciate any help you can provide.  Thanks

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.