Size of target window

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

Currently i have a link that says "9-0" and opens a new
page called 10-02-03.htm

here is the html source

<td width="11%" height="23"><a target="_blank" href="10-
02-03.htm">9-0</a></td>

I can read html but can i put in here somewhere some
dimentions for how big i want the page to open to?

Cheers

Andrew
 
Andrew said:
Currently i have a link that says "9-0" and opens a new
page called 10-02-03.htm

here is the html source

<td width="11%" height="23"><a target="_blank" href="10-
02-03.htm">9-0</a></td>

I can read html but can i put in here somewhere some
dimentions for how big i want the page to open to?

Cheers

Andrew

You will need to use JavaScript to control the appearance of the new window.
There are a variety of scripts out there, all free, to help with this. If
using JavaScript is new to you, you may want to consider a FrontPage add-on.

You can find the free Spawn program from Jimco Add-ins here (near the
bottom):
http://www.jimcoaddins.com/addins.aspx

If you want to cut and paste a script, you can find a generator here:
http://javascript.internet.com/generators/popup-window.html

Personally, I'd recommend Spawn.

Good luck!
 
You can replace the hyperlink with a hyperlink that points to a JavaScript
function that uses the JavaScript window.open() method to open the new
window. The JavaScript window.open() method contains parameters for setting
all kinds of properties of the new window.

HTH,

Kevin Spencer
Microsoft FrontPage MVP
Internet Developer
http://www.takempis.com
Some things just happen.
Everything else occurs.
 
Andrew:

This is a sample of some javascript that you can use.
Just place it between the <BODY> tags:


<a href="#" onClick="window.open('10-02-
03.htm', 'sizechart','width=500,height=400,scrollbars=yes,
resizable=yes,status=yes');">9-0</a>

As you can tell, the size is indicated by the "width"
and "height" parameters. Change as you'd like.
 
Back
Top