Path: csiph.com!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: "Christoph M. Becker" 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: 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 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