Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8592 > unrolled thread

Updating the Status Line

Started byGene Wirchenko <genew@ocis.net>
First post2011-11-23 18:45 -0800
Last post2011-11-25 20:26 +0000
Articles 5 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  Updating the Status Line Gene Wirchenko <genew@ocis.net> - 2011-11-23 18:45 -0800
    Re: Updating the Status Line "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-24 07:25 +0200
      Re: Updating the Status Line Richard Cornford <Richard@litotes.demon.co.uk> - 2011-11-24 06:40 -0800
        Re: Updating the Status Line Gene Wirchenko <genew@ocis.net> - 2011-11-24 11:28 -0800
    Re: Updating the Status Line Dr J R Stockton <reply1147@merlyn.demon.co.uk> - 2011-11-25 20:26 +0000

#8592 — Updating the Status Line

FromGene Wirchenko <genew@ocis.net>
Date2011-11-23 18:45 -0800
SubjectUpdating the Status Line
Message-ID<0lbrc7pjlrnnqungodgqpqqploj5d35svi@4ax.com>
Dear JavaScripters:

     How do I update the status line?  I have a page that does not do
it the first time.  If I refresh the page, then it works.  This is
using defaultStatus.  I have not been able to get status to work.

     I am using IE9, but I would like a general answer.  I have
enabled the setting to allow it to be done in Tools -- Internet
Options.

Sincerely,

Gene Wirchenko

[toc] | [next] | [standalone]


#8594

From"Jukka K. Korpela" <jkorpela@cs.tut.fi>
Date2011-11-24 07:25 +0200
Message-ID<jakkgs$tsl$1@dont-email.me>
In reply to#8592
2011-11-24 4:45, Gene Wirchenko wrote:

>       How do I update the status line?

This used to be simple:

window.status = 'Hello world';

However, browser vendors thought it was _too_ simple, and too simple to 
mislead users, making them misidentify links. So they took the feature 
off, basically. However, it still works on IE 9 when you view a local 
page. More info:
http://stackoverflow.com/questions/3273320/javascript-window-status

> I have a page that does not do
> it the first time.  If I refresh the page, then it works.  This is
> using defaultStatus.  I have not been able to get status to work.

As usual, specifying a URL or too would help.

>       I am using IE9, but I would like a general answer.  I have
> enabled the setting to allow it to be done in Tools -- Internet
> Options.

Which specific setting are you referring to?

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

[toc] | [prev] | [next] | [standalone]


#8599

FromRichard Cornford <Richard@litotes.demon.co.uk>
Date2011-11-24 06:40 -0800
Message-ID<5ef5704a-a1a0-47dc-8882-d2ec24279846@i8g2000vbh.googlegroups.com>
In reply to#8594
On Nov 24, 5:25 am, Jukka K. Korpela wrote:
> 2011-11-24 4:45, Gene Wirchenko wrote:
<snip>
>> ... .  I have
>> enabled the setting to allow it to be done in Tools -- Internet
>> Options.
>
> Which specific setting are you referring to?

For IE:-

Tools -> Internet Options -> Security (tab) ->
Select "zone" (e.g. Internet Zone) -> Custom level... ->
(In list) Scripting -> Allow status bar updates via scripts ->
Enable/Disable checkboxs.

Richard.

[toc] | [prev] | [next] | [standalone]


#8603

FromGene Wirchenko <genew@ocis.net>
Date2011-11-24 11:28 -0800
Message-ID<bm6tc7h19npsce7pf578kbloakp3apv158@4ax.com>
In reply to#8599
On Thu, 24 Nov 2011 06:40:52 -0800 (PST), Richard Cornford
<Richard@litotes.demon.co.uk> wrote:

>On Nov 24, 5:25 am, Jukka K. Korpela wrote:
>> 2011-11-24 4:45, Gene Wirchenko wrote:
><snip>
>>> ... .  I have
>>> enabled the setting to allow it to be done in Tools -- Internet
>>> Options.
>>
>> Which specific setting are you referring to?
>
>For IE:-
>
>Tools -> Internet Options -> Security (tab) ->
>Select "zone" (e.g. Internet Zone) -> Custom level... ->
>(In list) Scripting -> Allow status bar updates via scripts ->
>Enable/Disable checkboxs.

     Yup.

Sincerely,

Gene Wirchenko

[toc] | [prev] | [next] | [standalone]


#8646

FromDr J R Stockton <reply1147@merlyn.demon.co.uk>
Date2011-11-25 20:26 +0000
Message-ID<2NRyqqDzn$zOFwMX@invalid.uk.co.demon.merlyn.invalid>
In reply to#8592
In comp.lang.javascript message <0lbrc7pjlrnnqungodgqpqqploj5d35svi@4ax.
com>, Wed, 23 Nov 2011 18:45:03, Gene Wirchenko <genew@ocis.net> posted:

>     How do I update the status line?

Because the status line can be no use for several reasons, including :
        too small to be read,
        off screen or under another window,
        does not exist,
        is not enabled,
        etc.?,
ISTM wise to write the status information ALSO to an ordinary page
element.  In some browsers, it will or may appear there immediately;
otherwise it may be necessary for the script to yield.  But at least,
with the information being written twice, the chances of at least one
being readable are better.

I've not yet met a browser in which attempting to assign to
window,status raises an error; but, if your work is for the public, that
should perhaps be tested.

-- 
 (c) John Stockton, nr London UK  ?@merlyn.demon.co.uk  IE8 FF8 Op11 Sf5 Cr15
   news:comp.lang.javascript FAQ <http://www.jibbering.com/faq/index.html>.
   <http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
   <http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web