Re: full screen new window

From: mlliw (mlliw_at_joimail.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 18:43:49 -0400

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>

"pow67" <pow67@optonline.net> wrote in message
news:4133A8FF.507A105C@optonline.net...
> 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



Relevant Pages

  • RE: How to Retrieve Pivot Detail Cell Value
    ... var pvDetCell = Sel.TopLeft; ... Also in another report i have hyperlink for PivotDetails and it's calculated ... > value (or no record is bound to that cell in a back-end dataset/recordset) ... >> I'm having a problem getting the Current Cell for the Pivot Field which is ...
    (microsoft.public.office.developer.web.components)
  • Re: declaring a variable dynamically
    ... in .net Array are fixed size, you can not change them, only create a new one. ... new HyperLink(), new HyperLink, ... var obj = new HyperLink{ ... my way was like java script or action script in flash:) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Invoke a JS function from a hyperlink
    ... The follwoing code works fine for the command button but not the hyperlink. ... The hyperlink fails with a message "Error:'name' is null or not an object" ... on the line 'var form=eval;' ...
    (microsoft.public.scripting.jscript)
  • Re: window object
    ... Within a script, every reference to an object amounts to two ... calls from the scripting engine to the DHTML Object Model. ... var sText = document.all.div1.innerText; ...
    (comp.lang.javascript)
  • Re: Change IP related values due to WAN design change
    ... Unknown network, ... For the cost of testing a dangerous script in a big ... > recurse your text file into an array. ... > var newSettings = new NetworkSettings; ...
    (microsoft.public.windows.server.scripting)

Loading