Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Javascript Close Window


26 replies to this topic

#26 Guest_Sri_*

  • Guests

Posted 30 November 2011 - 10:07 PM

Hi Friends.

Is there any way i can close all related tabs or windows

window.close() only close the current window or tab but i need to close all the tabs related to that application if they opened.

if they right click on any link and opened in new tab when logout i need to close the other one to

Any please appreciated

#27 Guest_David M_*

  • Guests

Posted 16 December 2011 - 11:48 PM

View Postsomeguy, on 03 November 2005 - 07:28 AM, said:

Hi does anyone have a code to close the browser window. This code needs to be used to close an actual full sized window, not a pop-up window.

SO frustrated with newer browsers being what I assume is secure... or not. On this topic, the only 'solution' I've found is this: make sure the page was opened using JavaScript or even a link ( a href ). This WILL close full-size windows/tabs.

After trying every suggestion in this thread (thank you all for taking the time!), I found that only by opening a window/tab via a link/JS was I able to get the *.close() functionalities to work.

Grr.
David




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users