Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

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

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

"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.

-- 
 OO  Joaquim G�ndara
.||. http://www.Nerd-Boy.net
 bb  jg

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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Joaquim G�ndara" <joa...@telia.com>
Newsgroups: alt.ascii-art
Subject: Re: update from lgbeard (RE: to Aidan Karley post)
Date: Wed, 5 Jan 2005 18:14:21 +0100
Lines: 35
Message-ID: <342...@individual.net>
References: <326...@posting.google.com>
X-Trace: individual.net wJoTErNzOyAy0pwormmPkAiPGIyL8+BHEQpZWBB8LVfWTZsuZU
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Xref: g2news1.google.com alt.ascii-art:2819
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