[Javascript] Newbie

David Lovering dlovering at gazos.com
Thu Sep 4 23:18:36 CDT 2003


My understanding is that once the window is drawn, you are stuck with 
whatever you've got on the screen.  Admittedly, you can use JavaScript 
to edit the window parameters and then force a reload, but that is tacky 
and may not work if the URL supplies the target and window parameters as 
part of the window.open sequence.

No, the best way to suppress the statusbar is to do so BEFORE you open 
the window, i.e;

var myWin = 
window.open("myFile.html","","height=400,width=800,menubar=no,status=no");

with obvious variations for the toolbar, the links, etc.

Generally, the W3C spec calls for a signed script whenever one is 
changing the properties of window chrome once the window itself is open. 
 This can be appallingly easy in Netscape, or painfully gruesome in IE.

-- Dave Lovering

murugesan wrote:

> Hello all,
>         Can anyone say about how to disable the window status bar 
> onmousedrag.
>  
> Thanks in advance.
> Murugesan
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
>  
>





More information about the Javascript mailing list