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


Groups > comp.lang.javascript > #20721

Re: Drawline in javascript?

Message-ID <2139674.s9ONc4Y8a9@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-07-19 21:42 +0200
Subject Re: Drawline in javascript?
Newsgroups comp.lang.javascript
References (1 earlier) <3401c16a-0d93-4560-a767-6c90292a77d5@googlegroups.com> <3854249.9rPbM97Byf@PointedEars.de> <6d54a079-1236-464a-aa4d-60d118f72411@googlegroups.com> <14481436.aRB4Lr778n@PointedEars.de> <26f9608c-9bc9-4b88-bed4-c13d2c63f72a@googlegroups.com>

Show all headers | View raw


jonas.thornvall@gmail.com wrote:

[Quotation fixed]

> […] Thomas 'PointedEars' Lahn:
>> jonas.thornvall@gmail.com wrote:
>> >   var canvas = document.getElementById("myCanvas");
>> 
>> You need to have a “canvas” element with ID “myCanvas” in the document
>> for this to work, like
>> 
>>   <canvas id="myCanvas"></canvas>
>> 
>> But the call to getElementById() must happen *after* the document was
>> loaded; at least *after* the element in question was parsed (so that it
>> is in the document tree).  Safest and cleanest is in a function or method
>> that you call onload: […]
> 
> You just can't write the working seven line of coded needed rather you
> post some anal nitpicks, face it your code do work.

Despite your posting in a hardly readable manner, I have given you a helpful 
answer.  If are unable to put one and one together, and blame your failures 
on the teacher instead, you are in the wrong place here.  FOAD.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

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


Thread

Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 01:50 -0700
  Re: Drawline in javascript? Martin Honnen <mahotrash@yahoo.de> - 2013-07-19 11:12 +0200
    Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 02:30 -0700
  Re: Drawline in javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-19 11:15 +0200
  Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 02:23 -0700
    Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 13:09 +0200
      Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 09:15 -0700
        Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 20:08 +0200
          Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 12:15 -0700
            Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 21:42 +0200
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 12:44 -0700
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 12:47 -0700
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 12:50 -0700
        Re: Drawline in javascript? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-07-19 13:00 -0600
          Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 12:06 -0700
            Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 21:34 +0200
            Re: Drawline in javascript? Tim Streater <timstreater@greenbee.net> - 2013-07-19 21:17 +0100
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 13:20 -0700
                Re: Drawline in javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-07-19 13:32 -0700
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 13:39 -0700
                Re: Drawline in javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-07-19 13:53 -0700
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 14:04 -0700
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 14:17 -0700
                Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 23:27 +0200
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 15:10 -0700
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 15:21 -0700
                Re: Drawline in javascript? Scott Sauyet <scott@sauyet.com> - 2013-07-20 17:54 +0000
                Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-20 13:49 -0700
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 13:23 -0700
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 13:30 -0700
              Re: Drawline in javascript? "ViLco" <villiber@tin.it> - 2013-07-23 14:59 +0200
            Re: Drawline in javascript? Martin Leese <please@see.Web.for.e-mail.INVALID> - 2013-07-19 14:30 -0600
              Re: Drawline in javascript? jonas.thornvall@gmail.com - 2013-07-19 13:40 -0700
      Re: Drawline in javascript? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-07-19 13:25 -0700
        Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-19 22:56 +0200
  Re: Drawline in javascript? Ken <so@abdiassoftware.com> - 2013-08-26 22:08 -0500
    Re: Drawline in javascript? Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-08-28 19:54 +0100
      Re: Drawline in javascript? Ken <usenet-so@abdiassoftware.com> - 2013-08-28 18:56 -0500
        Re: Drawline in javascript? Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-08-30 20:17 +0100
    Re: Drawline in javascript? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-01 16:18 +0200

csiph-web