Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

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

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

"Joaquim GпїЅndara" <joa...@telia.com> wrote:
>  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.


 Dear Joaquim!
 Thanks a lot for your advize! It was very helpful. I realized the
 asciimator engine totally with NODES. No innerText, No innerHTML now.
 (=

 And asciimator became available to Mozilla and Opera!

 (But instead of
 document.getElementById("counter").childNodes[0].nodeValue = x;
 I used
 document.getElementById("counter").childNodes[0].data = x;
 And all works!)

Original message headers
X-Google-Thread: f996b,276bc40bd1fbdfe8
X-Google-Attributes: gidf996b,public
X-Google-Language: ENGLISH,ASCII
Path: g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.sovam.com!sovam!not-for-mail
From: "karaboz" <t...@asciimator.net>
Newsgroups: alt.ascii-art
Subject: Re: update from lgbeard (RE: to Aidan Karley post)
Date: Wed, 19 Jan 2005 10:45:31 +0300
Organization: Golden Telecom
Lines: 44
Message-ID: <csl36n$4fq$1...@news.rol.ru>
References: <326...@posting.google.com> <342...@individual.net>
NNTP-Posting-Host: ts2-a21.moscow.dial.rol.ru
Mime-Version: 1.0
Content-Type: text/plain;
	charset="windows-1251"
Content-Transfer-Encoding: 8bit
X-Trace: news.rol.ru 1106120728 4602 195.239.0.21 (19 Jan 2005 07:45:28 GMT)
X-Complaints-To: abu...@online.ru
NNTP-Posting-Date: Wed, 19 Jan 2005 07:45:28 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Xref: g2news1.google.com alt.ascii-art:3044
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