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


Groups > comp.lang.javascript > #7708

Re: function call location?

From Dr J R Stockton <reply1143@merlyn.demon.co.uk>
Newsgroups comp.lang.javascript
Subject Re: function call location?
Date 2011-10-26 20:13 +0100
Organization Home
Message-ID <FWlOsHEFvFqOFwii@invalid.uk.co.demon.merlyn.invalid> (permalink)
References (1 earlier) <20ecde0b-c4e3-44df-9e34-a447753b0fb9@g16g2000yqa.googlegroups.com> <Iw2tVDKADwoOFwho@invalid.uk.co.demon.merlyn.invalid> <d29d6f09-972a-4e45-85a9-85d2c052da38@hj4g2000vbb.googlegroups.com> <7rMRzdJvHbpOFwfB@invalid.uk.co.demon.merlyn.invalid> <0d36dd0b-5638-44d2-9102-f88fffbe44fc@f36g2000vbm.googlegroups.com>

Show all headers | View raw


In comp.lang.javascript message <0d36dd0b-5638-44d2-9102-f88fffbe44fc@f3
6g2000vbm.googlegroups.com>, Tue, 25 Oct 2011 05:13:05, Scott Sauyet
<scott.sauyet@gmail.com> posted:
>Dr J R Stockton wrote:

>> It will take me longer to find and understand a sound one than to
>> implement an acceptable solution using a well-placed and initially non-
>> displayed div element, accessed by getElementById.
>
>Ok, but welcome to the world of web-scripting.  What once seem to be
>acceptable solutions often turn out to be less than acceptable as
>reports from the wild world of the web pour in.  :-)

It's always nice to hear from an actual reader with a good suggestion
that can easily be implemented.


The best thing would be for browser writers to see sense, and make the
alert function do the same, and correct, thing in all browsers.

In IE 8, Firefox 3, Safari 5.1.1, Chrome 14 & 15, function alert does
the right thing - a draggable box that holds focus with respect to the
issuing page.

In Firefox 7 and Opera 11.52, the page is greyed, which is very bad;
in FF7, the alert cannot even be dragged.

In Opera 11.52, one can copy from the text shown, which is good; and the
text is larger, also good.

I don't think any of them allow the text to be zoomed, as obviously they
ought.  I don't think any allow font selection (an alert may want fixed
pitch).  I don't think any are good at identifying, in words, the
browser and the page.

Fancy alerts are acceptable, if they are a new and not a substitute
feature and have a new name.


FYI - Chrome is now 15.0.

-- 
 (c) John Stockton, nr London, UK.    ?@merlyn.demon.co.uk     Turnpike v6.05.
 Website  <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
 PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm
 Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

function call location? Dr J R Stockton <reply1142@merlyn.demon.co.uk> - 2011-10-20 19:53 +0100
  Re: function call location? Antony Scriven <adscriven@gmail.com> - 2011-10-20 17:13 -0700
    Re: function call location? Dr J R Stockton <reply1142@merlyn.demon.co.uk> - 2011-10-22 18:43 +0100
      Re: function call location? Scott Sauyet <scott.sauyet@gmail.com> - 2011-10-23 10:00 -0700
        Re: function call location? Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-24 19:43 +0100
          Re: function call location? Scott Sauyet <scott.sauyet@gmail.com> - 2011-10-25 05:13 -0700
            Re: function call location? Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-26 20:13 +0100
      Re: function call location? Antony Scriven <adscriven@gmail.com> - 2011-10-24 02:11 -0700
        Re: function call location? Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-25 19:28 +0100
          Re: function call location? Scott Sauyet <scott.sauyet@gmail.com> - 2011-10-26 05:09 -0700
            Re: function call location? Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-27 19:27 +0100
              Re: function call location? Antony Scriven <adscriven@gmail.com> - 2011-10-27 17:25 -0700
                Re: function call location? Dr J R Stockton <reply1143@merlyn.demon.co.uk> - 2011-10-29 20:36 +0100

csiph-web