full screen new window

P

pow67

I want my hyperlink to open a new window which fills the entire screen
while leaving the previous page open.

I added:

target="_blank"

to the hyperlink but the screen only fills about 50%.

Thanks in advance.
CW
 
M

mlliw

I am not very experienced with front page, but this is how you do it with
HTML/Javascript:

<SCRIPT>
<!--
var ie=(document.all?1:0);
var n6=(document.getElementById&&!ie?1:0);
var n4=(document.layers&&!n6?1:0);
var adder=(!ie?-10:0);
var adder1=(!ie?-50:0);
var swi=screen.width+adder;
var sht=screen.height+adder1;
function winOpen(file_name){

msg=window.open(file_name,'','width='+swi+',height='+sht+',top=0,left=0,scro
llbars=1,resizable=1');
}
//-->
</SCRIPT>

Then, just use code like
<a href="winOpen('file_to_open.html')">Click Here</a>
 
T

Tom Pepper Willett

Download and install the free FP addin "Spawn" from www.jimcoaddins.com


--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| I want my hyperlink to open a new window which fills the entire screen
| while leaving the previous page open.
|
| I added:
|
| target="_blank"
|
| to the hyperlink but the screen only fills about 50%.
|
| Thanks in advance.
| CW
 
P

pow67

I copied your function but I keep getting the following error message:

The requested URL /winOpen('myTEST_Page.htm') was not found on this
server.

I tried changing
<SCRIPT>
to
<SCRIPT LANGUAGE="JavaScript">

and changed the link to:

<a href="javascript:winOpen('myTEST_Page.htm')">Click Here</a></p>

but it did not work.

Suggestions appreciated.

Thanks in advance.

CW
 
D

David Baxter

Don't do it - period. Use the target="_blank" feature and let THE USER
decide how big s/he want that window. The same rule applies to location
of the new window on the screen...

I *HATE* sites that try to take over any function of my browser. That's
not your decision - it's mine; it's not your computer or your browser -
it's mine.
 

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