[thelist] Pop-up tricks Q

Paul Backhouse paul.backhouse at 2cs.com
Mon Jan 28 10:39:01 CST 2002


There is one way in Ie where you can strip everything microsoft away from
the window - it will open a standard pop up window in NS.
Chromless windows:

Code as follows:

<script language="JavaScript">
<!--

function launch(url,wid,hei)
{
  features = 'fullscreen,width=' + wid + ',height=' + hei;
  win = window.open(url, 'CM', features);
  if(win.resizeTo) win.resizeTo(wid, hei);
  if(win.moveTo)
  {
//    leftPos = (screen.width - wid) / 2;
//    topPos = (screen.height - hei) / 2;
    leftPos =2;
    topPos = 30;

    win.moveTo(leftPos, topPos);
  }
  if(win.focus) win.focus();
}
//-->
</script>

<body onload="launch('TimeSheet.asp', '350', '150'); return false">
Or onclick in an Href:
<a href="javascript://" onclick="launch('TimeSheet.asp', '350', '150');
return false">click here</a>

cheers paul

> 1) Is it possible to remove "Microsoft Internet Explorer" or
> "Nestcape" (etc) from page titles?. How? We've been asked to do it
> on a couple of pop-up windows.





More information about the thelist mailing list