Size of target window

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
 
J

Jack Brewster

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!
 
K

Kevin Spencer

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.
 
C

carmen

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top