Prev: Sencha Touch--Support 2 browsers in just 228K!
Next: Disabling backspace (back a page) in ajax application
From: saraltoms on 16 Jul 2010 07:25 Hi, I have some issue in identifying if the status bar is visible or hidden in a window. window.statusbar will return the statusbar object of the window. And window.statusbar.visible will return true, if the status bar is visible. The issue here is , even if the status bar is hidden in my current window, the window.statusbar.visible returns true. Is there a javascript solution to identify if the status bar is visible or hidden in firefox browser ? Does anybody came across this issue in Firefox ? Inputs will be greatly appreciated. Saral
From: Richard Cornford on 16 Jul 2010 10:44 saraltoms wrote: > Hi, > > I have some issue in identifying if the status bar is visible > or hidden in a window. > > window.statusbar will return the statusbar object of the > window. And window.statusbar.visible will return true, if > the status bar is visible. The issue here is , even if the > status bar is hidden in my current window, the > window.statusbar.visible returns true. > > Is there a javascript solution to identify if the status > bar is visible or hidden in firefox browser ? > > Does anybody came across this issue in Firefox ? > > Inputs will be greatly appreciated. Why on earth do you care? What do you prose doing (or not doing) depending on whether the user has chosen to have the sates bar shown or not? Richard.
From: Thomas 'PointedEars' Lahn on 16 Jul 2010 11:28 Richard Cornford wrote: > saraltoms wrote: >> I have some issue in identifying if the status bar is visible >> or hidden in a window. >> >> window.statusbar will return the statusbar object of the >> window. And window.statusbar.visible will return true, if >> the status bar is visible. The issue here is , even if the >> status bar is hidden in my current window, the >> window.statusbar.visible returns true. >> >> Is there a javascript solution to identify if the status >> bar is visible or hidden in firefox browser ? >> >> Does anybody came across this issue in Firefox ? >> >> Inputs will be greatly appreciated. > > Why on earth do you care? What do you prose doing (or not doing) > depending on whether the user has chosen to have the sates bar shown or > not? It is possible that they would like to know whether they can generally use the status bar for displaying additional information. A default read-only `window.status' property (dom.disable_window_status_change == true) and a default forced status bar display for popup windows (dom.disable_window_open_feature.status == true) in recent Mozilla-based browsers notwithstanding, it is certainly a bug in the Gecko DOM that `window.statusbar.visible' would yield `true' even if the status bar is not displayed. I could confirm this bug in Iceweasel 3.6.3 (Mozilla/Gecko 1.9.2.3, build 20100404). PointedEars -- Danny Goodman's books are out of date and teach practices that are positively harmful for cross-browser scripting. -- Richard Cornford, cljs, <cife6q$253$1$8300dec7(a)news.demon.co.uk> (2004)
From: Dr J R Stockton on 17 Jul 2010 16:17 In comp.lang.javascript message <1dWdnQ_d2JDe7d3RnZ2dnUVZ7sadnZ2d(a)gigane ws.com>, Fri, 16 Jul 2010 15:44:04, Richard Cornford <Richard(a)litotes.demon.co.uk> posted: >saraltoms wrote: >> I have some issue in identifying if the status bar is visible >> or hidden in a window. >> >> window.statusbar will return the statusbar object of the >> window. And window.statusbar.visible will return true, if >> the status bar is visible. The issue here is , even if the >> status bar is hidden in my current window, the >> window.statusbar.visible returns true. >> >> Is there a javascript solution to identify if the status >> bar is visible or hidden in firefox browser ? >Why on earth do you care? What do you prose doing (or not doing) >depending on whether the user has chosen to have the sates bar shown or >not? That is a very ill-mannered (and careless) response to a perfectly reasonable question. There is one ambiguity in it, however; is "hidden" to be taken in the HTML/CSS sense, or does it refer to whether the corresponding marks can actually be seen on the (presumed to be working normally) screen? AIUI, the latter cannot be detected; but the question remains valid. -- (c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05. Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.
From: David Mark on 17 Jul 2010 22:52 On Jul 17, 4:17 pm, Dr J R Stockton <reply1...(a)merlyn.demon.co.uk> wrote: > In comp.lang.javascript message <1dWdnQ_d2JDe7d3RnZ2dnUVZ7sadnZ2d(a)gigane > ws.com>, Fri, 16 Jul 2010 15:44:04, Richard Cornford > <Rich...(a)litotes.demon.co.uk> posted: > > >saraltoms wrote: > >> I have some issue in identifying if the status bar is visible > >> or hidden in a window. > > >> window.statusbar will return the statusbar object of the > >> window. And window.statusbar.visible will return true, if > >> the status bar is visible. The issue here is , even if the > >> status bar is hidden in my current window, the > >> window.statusbar.visible returns true. > > >> Is there a javascript solution to identify if the status > >> bar is visible or hidden in firefox browser ? > >Why on earth do you care? What do you prose doing (or not doing) > >depending on whether the user has chosen to have the sates bar shown or > >not? > > That is a very ill-mannered (and careless) response to a perfectly > reasonable question. Doc, you are not one to lecture on manners. As for careless, I believe Richard has stated that he is dyslexic, so typos in his posts are to be expected (and ignored by well-mannered participants). > > There is one ambiguity in it, however; is "hidden" to be taken in the > HTML/CSS sense, In *what* sense? > or does it refer to whether the corresponding marks can > actually be seen on the (presumed to be working normally) screen? Talk about ambiguous. What marks? > AIUI, > the latter cannot be detected; but the question remains valid. > The question is valid and the answer is no (at least at this time). But as this is not a help desk, discussions of the OP's motivations are appropriate.
|
Next
|
Last
Pages: 1 2 Prev: Sencha Touch--Support 2 browsers in just 228K! Next: Disabling backspace (back a page) in ajax application |