New Window Sizing

P

Peter

Hi. I want to open a new window for a graphic that's 405 x 320 pixels, with no "chrome" or that's to say, no buttons or sliders. I have a javascript to do this that I got from Osborne's Coplete Web Design and I can't get it to work. Do I need to modify the code on the referring page, or on the new page itself? When I try it on the new page, the sizing is ok, but it won't display the content, or I get a live link saying "Open window" that doesn't work either.

Code I am using is

<a href="small_map.htm
onClick="newwindow=window.open('small_map.htm','small_map','width=405,height=320'); return false"
Open window</a
Thanks in advance. Pete
 
T

Tom Pepper Willett

Download the free FP addin "Spawn" from www.jimcoaddins.com
--
-----
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
http://msdn.microsoft.com/office/understanding/frontpage/
----
| Hi. I want to open a new window for a graphic that's 405 x 320 pixels,
with no "chrome" or that's to say, no buttons or sliders. I have a
javascript to do this that I got from Osborne's Coplete Web Design and I
can't get it to work. Do I need to modify the code on the referring page,
or on the new page itself? When I try it on the new page, the sizing is ok,
but it won't display the content, or I get a live link saying "Open window"
that doesn't work either.
|
| Code I am using is:
|
| <a href="small_map.htm"
|
onClick="newwindow=window.open('small_map.htm','small_map','width=405,height
=320'); return false">
| Open window</a>
| Thanks in advance. Pete
 
M

MD Websunlimited

Hi Peter,

For a robust Popup Window / Window Close component see
http://www.websunlimited.com/order/Product/General/popup_window_component.htm
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to have an Ad Banner that allow individual links?
http://www.websunlimited.com/order/Product/navigation/adbanner.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible


Peter said:
Hi. I want to open a new window for a graphic that's 405 x 320 pixels, with no "chrome" or that's to say, no buttons or sliders.
I have a javascript to do this that I got from Osborne's Coplete Web Design and I can't get it to work. Do I need to modify the
code on the referring page, or on the new page itself? When I try it on the new page, the sizing is ok, but it won't display the
content, or I get a live link saying "Open window" that doesn't work either.
 

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