Example: When the tab is open the Google Map, and the user switch into another tab, the Google Map tab will be hide or close. Thank you
Why do you want to do this? If you could hide/close inactive tabs, how would you switch ti another tab (apart from <ALT><TAB> keystroke) - there would not be any tabs to switch to. Have you thought this through?
Because I need this to my current project that I doing right now. I want to automatically close/hide the browser tab if the user is switch into another tab or tab is inactive. Will you please help me? I search and reading lot of questions and articles about this topic but no update answer
Originally Posted by jedaisoul
By the way when you say "hide" do you mean that the tabs will automatically display when moused over? If so:
1. That is very different from closing the tab.
2. What about mobile users (who do not have hover functionality)?
By the way, I appreciate that I may be asking questions that are not directly relevant to the task you have been set. However, thinking around the objective could lead to a better solution than focusing simply on the task as set...
Last edited by jedaisoul; 07-18-2014 at 05:02 AM.
Wouldn't opening a new web page with a reference in the opener to test if the page opened and loaded then self close the page that opened the new page work?
I have to agree, that kind of functionality doesn't seem to have any legitimate purpose.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread