File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes how to close the tab in mozilla through javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to close the tab in mozilla through javascript" Watch "how to close the tab in mozilla through javascript" New topic
Author

how to close the tab in mozilla through javascript

Sekhar Chand
Ranch Hand

Joined: Apr 05, 2006
Posts: 73
Hai guys and gals,

In my project when you signout from a your account then that window closes and another window open with sign in page. It works fine in internet Explorer 5.0.
And it works fine even in mozilla if there is no tab other than my application in that window.But problem comes if there is other tab in that mozilla window.
When i sign out from mozilla which has 2 tab windows. here new window opens in the sense not new tab, new window opens. BUt the previous page in which i used to sign out , that tab in that window is not closed.

So please give me code to close the tab, when i click signout.

Thanks in advance
nani
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I think you are out of luck.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to close the tab in mozilla through javascript
 
Similar Threads
javascript function call issue on safari
Downloading songs in same window
new frame from applet
PDF issue on DecoratedTabPanel in ie8
click of a link shud open in a new tab instead of new window using javascript