[thelist] Scrolling bars in NS 6.2

Paul Backhouse paul.backhouse at 2cs.com
Thu Mar 21 04:27:01 CST 2002


I'm using the following function to open a pop window in kiosk mode in IE
and and NS 6 a normal popup window - unforntunately in NS 6 it will not add
a scrollbar to the window - I haven't been able to re-jig the code and get
it work - and one got any ideas?

CODE:

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

<a class="options" href="javascript://" onclick="launch('Add.asp', '500',
'450'); return false;">open</a>


cheers

paul




More information about the thelist mailing list