[Javascript] open same window ?
David T. Lovering
dlovering at gazos.com
Wed Mar 26 07:01:46 CST 2003
As a footnote to Andy's earlier question, it is easier to simply assign the
current window's location.href to "SPA/Login" (whatever that is) than it is
to do a retroactive window opening on a window which already exists -- something
even I have difficulty believing would work.
Generally, login's are done via a secured https/SSL window (or should be!) so that
the outgoing password/username stream is not in cleartext. Rather than jump back
and forth between a secured window and an unsecured window it is safer to simply
spawn a new (secure) window when you need it.
-- Dave Lovering
Andrew Dunn wrote:
>
> It is not possible to take the statusbar, menubar etc out of an already
> open window. You need to open a new window if you want to do this.
>
> -----Original Message-----
> From: andy susanto [mailto:andy78 at centrin.net.id]
> Sent: Tuesday, 25 March 2003 8:38 PM
> To: javascript at LaTech.edu
>
> Hai,
>
> Can anyone explain why my menubar,statusbar still exist ?, if i change
> window name script work well.
> i like to open Login on same window with index.html
>
> code in index.html :
> <html>
> <head>
> <script>
> function eksekusi(){
>
> window.open('/SPA/Login','_self','statusbar=0,menubar=0,resizable=1,scrollbar=1');
>
> }
> </script>
> </head>
> <body onload="eksekusi()">
>
> </body>
> </html>
>
> ps: Tomcat
> IE 6
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list