Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 6 Jan 2005.
Re: update from lgbeard (RE: to Aidan Karley post)

Re: update from lgbeard (RE: to Aidan Karley post)

Joaquim Gᅵndara schreef:
> "karaboz" <t...@asciimator.net> skrev i meddelandet
>  news:326...@posting.google.com
> <snip>
>>
>> What browser do you use? Asciimator has been tested only for IE yet...
>> And I'd like very much to know about other browsers too... So, keep in
>> touch please!
>>
>> P.S. For JavaScript programmers:
>> I used "document.all.IDTAG.innerText" function to paste the ascii
>> images inside <div></div> container... Does it work correctly with all
>> browsers or not? Also I used StyleSheet "position:absolute" parameter.
> 
> I'm guessing that the innerText property is non-DOM compliant and thus
> only available in IE's DHTML model. You're probably better off using
> TEXTAREAs. However, you might want to try using
>     document.getElementById('IDTAG').innerText
> instead, as that would be more conformant with the standard.
> 
> After some googling, I came up with this allegedly DOM compliant example.
> I haven't tried it.
> 
>     document.getElementById("counter").childNodes[0].nodeValue = x;
>     // - note that for this to work, the div must already have a child 
> node.     // - Otherwise, you'll get an error.
>
> By "child node" he means any content at all. "counters" is of course
> the ID of his div.

The document.all. is certainly a Internet Explorer only "feature". Use 
document.getElementById('IDTAG'). The innerText property also causes 
problems. You may want to try using innerHTML instead.

CU Hans
-- 
       ('<                  |\      _,,,---,,_                ima...@xs4all.nl
      ,',)                  /,`.-'`'    -.  ;-;;,_                Hans Marks
     ''<<                  |,4-  ) )-,_..;\ (  `'-'
--------""--------------  '---''(_/--'  `-'\_)  fL  ------------------------

Original message headers
X-Google-Thread: f996b,276bc40bd1fbdfe8
X-Google-Attributes: gidf996b,public
X-Google-Language: ENGLISH,ASCII
Path: g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!transit.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
User-Agent: Halime (MacOSX)/1.0rc2b
MIME-Version: 1.0
References: <326...@posting.google.com> 
	<342...@individual.net> 
Subject: Re: update from lgbeard (RE: to Aidan Karley post)
Content-Type: text/plain; charset="ISO-8859-15"
Message-ID: <200...@imac.xs4all.nl>
Content-Transfer-Encoding: 8bit
From: Hans Marks <ima...@xs4all.nl>
Newsgroups: alt.ascii-art
Date: 06 Jan 2005 21:10:33 GMT
Lines: 40
NNTP-Posting-Host: 213.84.38.150
X-Trace: 1105045833 news.xs4all.nl 6222 [::ffff:213.84.38.150]:33596
X-Complaints-To: abu...@xs4all.nl
Xref: g2news1.google.com alt.ascii-art:2837
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2005 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post