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


Groups > comp.lang.javascript > #25563

Re: Images and pdf in a div

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Images and pdf in a div
Date 2014-07-25 12:31 +0200
Organization PointedEars Software (PES)
Message-ID <22713596.r3qZ2B1LQr@PointedEars.de> (permalink)
References (7 earlier) <Zf2dnfu0HYh7olHOnZ2dnUVZ_gqdnZ2d@westnet.com.au> <3966722.Cq8BDrRF97@PointedEars.de> <XnsA37149E4C23C3eejj99@194.109.133.133> <lqr8hk$ibg$1@dont-email.me> <lqrcu6$ov5$1@solani.org>

Show all headers | View raw


Christoph M. Becker wrote:

> Osmo Saarikumpu wrote:
>> On 21.7.2014 8:15, Evertjan. wrote:
>>> Thomas 'PointedEars' Lahn <PointedEars@web.de> wrote on 21 jul 2014 in
>>> comp.lang.javascript:

Attribution *line*, _not_ attribution novel.

>>>> for (var i = 0, plugins = navigator.plugins, len = plugins.length;
>>>>         i < len; ++i)
>>>
>>> Some semantic plugging-in:
>>>
>>> , var plugins = navigator.plugins, var len = plugins.length;
>>>
>>> methinks.
>>
>> I've never seen that suggested or used before. Are you sure?
> 
> According to the ECMAScript specification, Edition 5.1[1], Evertjan.'s
> suggestion would be a syntax error.  […]

Yes, of course, but simply *testing* the code with any ECMAScript-based 
script engine would show that (all major browsers have a built-in script 
console, there are add-ons/bookmarklets and “javascript:” URIs for the 
others [1]).  One should acquire a habit of testing code before posting it, 
or indicating that it is untested.  Posting untested code can be excused as 
its complexity increases.

[1] <http://PointedEars.de/faq#debugging>

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

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


Thread

Images and pdf in a div danca <cyberdanny@tiscalinet.it> - 2014-07-19 00:31 +0200
  Re: Images and pdf in a div "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-07-19 13:34 +0200
    Re: Images and pdf in a div danca <cyberdanny@tiscalinet.it> - 2014-07-19 15:34 +0200
      Re: Images and pdf in a div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-19 15:51 +0200
        Re: Images and pdf in a div danca <cyberdanny@tiscalinet.it> - 2014-07-19 18:30 +0200
          Re: Images and pdf in a div Andrew Poulos <ap_prog@hotmail.com> - 2014-07-20 15:23 +1000
            Re: Images and pdf in a div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-20 12:42 +0200
              Re: Images and pdf in a div danca <cyberdanny@tiscalinet.it> - 2014-07-20 20:07 +0200
                Re: Images and pdf in a div Andrew Poulos <ap_prog@hotmail.com> - 2014-07-21 14:10 +1000
                Re: Images and pdf in a div danca <cyberdanny@tiscalinet.it> - 2014-07-21 14:19 +0200
              Re: Images and pdf in a div Andrew Poulos <ap_prog@hotmail.com> - 2014-07-21 08:14 +1000
                Re: Images and pdf in a div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-21 02:00 +0200
                Re: Images and pdf in a div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-21 07:15 +0200
                Re: Images and pdf in a div Osmo Saarikumpu <osmo@weppipakki.com> - 2014-07-24 18:26 +0300
                Re: Images and pdf in a div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-24 17:48 +0200
                Re: Images and pdf in a div Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-24 22:32 +0100
                Re: Images and pdf in a div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-24 23:58 +0200
                Re: Images and pdf in a div "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-07-24 18:40 +0200
                Re: Images and pdf in a div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-07-25 12:31 +0200
                Re: Images and pdf in a div John Harris <niam@jghnorth.org.uk.invalid> - 2014-07-25 15:52 +0100

csiph-web