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


Groups > comp.lang.javascript > #30400

Re: Will insertBefore show it IMMEDIATELY?

Path csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: Will insertBefore show it IMMEDIATELY?
Date Fri, 6 May 2016 12:53:13 +0200
Organization solani.org
Lines 14
Message-ID <nght24$lte$1@solani.org> (permalink)
References <9f3351d4-6b6a-46f3-b086-41f39990ab7b@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1462531973 22446 eJwFwYkBwEAEBMCW4luUw6H/EjJjAsJzhUHt7GQD7auhL6vIWPLxnF86gnMnHK2mzaCiuUQlnKNmhL69zXyLuh0XRmjyhcRrHYt+1D+O6x6P (6 May 2016 10:52:53 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Fri, 6 May 2016 10:52:53 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0
X-User-ID eJwNyLEBwCAMA7CbEscmPQco/v8EWDSIUGiPElU0beb3exQeVADTq14yTudUdh4B7LV3uNIXFpoQ2w==
In-Reply-To <9f3351d4-6b6a-46f3-b086-41f39990ab7b@googlegroups.com>
Cancel-Lock sha1:h141jzrzqhTKSTrn57TItPFgLCA=
X-NNTP-Posting-Host eJwNycEBwCAIA8CVFAmBcRBh/xHa+x6ObSuqwRSDMSzh8l2x8V6mVN+cLk0iWl/I6NVDMOhHNKLLExBpLtPbHjvHZZVcIxtFllu9k/+c+QCEeB3q
Xref csiph.com comp.lang.javascript:30400

Show key headers only | View raw


bit-naughty@hotmail.com wrote:

> My question is, if I use this, as instructed:
> insertBefore(newChild, 
> refChild) method. 
> 
> Then will the element show up right away?
> I DON'T want it to, I want it to remain invisible till I fiddle with it's CSS properties....

Consider to use CSS for styling instead of doing this by scripting.  The
script would only add (or remove) a class name, then.

-- 
Christoph M. Becker

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


Thread

Will insertBefore show it IMMEDIATELY? bit-naughty@hotmail.com - 2016-05-04 23:06 -0700
  Re: Will insertBefore show it IMMEDIATELY? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-05-05 10:16 +0100
    Re: Will insertBefore show it IMMEDIATELY? Steve L <x@y.z> - 2016-05-07 15:40 -0400
      Re: Will insertBefore show it IMMEDIATELY? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-07 22:51 +0200
        Re: Will insertBefore show it IMMEDIATELY? Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-05-08 19:18 +0100
  Re: Will insertBefore show it IMMEDIATELY? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-05-06 12:53 +0200
    Re: Will insertBefore show it IMMEDIATELY? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-06 13:11 +0200
    Re: Will insertBefore show it IMMEDIATELY? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-06 14:08 +0200
      Re: Will insertBefore show it IMMEDIATELY? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-06 16:10 +0200
  Re: Will insertBefore show it IMMEDIATELY? bit-naughty@hotmail.com - 2016-05-10 00:53 -0700
    Re: Will insertBefore show it IMMEDIATELY? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-05-10 10:38 +0200
    Re: Will insertBefore show it IMMEDIATELY? Osmo Saarikumpu <osmo@weppipakki.com> - 2016-05-11 17:34 +0300

csiph-web