Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25133
| Newsgroups | comp.infosystems.www.authoring.stylesheets, comp.lang.javascript |
|---|---|
| Subject | Re: Dynamic CSS adjustments (JavaScript) |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | (1 earlier) <XnsA358CD0D1F4FBeejj99@194.109.133.133> <20140626231812.43be7fd9@bootnic.server> <MPG.2e1a48db4f195e89899c4@news.demon.co.uk> <XnsA35BCE489BDBFeejj99@194.109.133.133> <MPG.2e1b4cc16e0b25e99899c8@news.demon.co.uk> |
| Date | 2014-06-30 13:37 +0200 |
| Message-ID | <XnsA35C8A96767ECeejj99@194.109.133.133> (permalink) |
Cross-posted to 2 groups.
Philip Herlihy <bounceback@you.com> wrote on 30 jun 2014 in
comp.lang.javascript:
> In article <XnsA35BCE489BDBFeejj99@194.109.133.133>,
> exxjxw.hannivoort@inter.nl.net says...
>>
>> Philip Herlihy <bounceback@you.com> wrote on 29 jun 2014 in
>> comp.infosystems.www.authoring.stylesheets:
>>
>> > In article <20140626231812.43be7fd9@bootnic.server>,
>> > bootnic.bounce@gmail.com says...
>> >>
>> > ...
>> >> Since this could be done without the need for javascript, it need
>> >> not be off topic.
>> >>
>> >>
>> >> <style>
>> >> [id=in0]:checked + [for=in0] ~ .done {
>> >> display:none;
>> >> }
>> >> </style>
>> >> <input type=checkbox id=in0><label for=in0>Check box to hide
>> >> done</label>
>> >>
>> >> [snip]
>> >> > <div class='done'>AAAAAAAAAAAa</div>
>> >> > <div class='xyz'>bbbbbbbbbbbbB</div>
>> >> > <div class='done'>CCCCCCCCCCCCCc</div>
>> >
>> > Phew! This certainly raises my game on selectors (had to look things
>> > up!). Thank you so much.
>> >
>> > Puzzled why you didn't just use #in0 to select the input? Just
>> > consistency?
>>
>> I have no idea what you are talking about.
>
> I very much appreciate your generous help with my problem, but I am
> surprised by this scolding. You should be able to see that the post of
> mine to which you object was a direct response to the helpful post from
> BootNic.
Your inconsistent quoting suggest you are responding to my posting
when you said "you", not to BootNic's.
"scolding"???
Being offended does not really fit Usenet.
>>
>> What selectors do you mean?
> Those suggested by BootNic - see above under <style>.
>> I did not use any <input>.
> No, but BootNic did - see above just under </style>.
>> Why do you quote part of my code?
> Because BootNic helpfully left it in place in his post, for
> completeness.
Same objection.
>>
>> Please quote consistently,
>> and keep attribution lines intact.
> It seems my offence was
No, you did make it impossible to understand youe entry.
"offence"???
Being offended does not really fit Usenet.
> to remove the line which showed your
> (significant) contribution to this thread. For that, I'm certainly
> happy to apologise. I do appreciate those who give their time to assist
> in these groups.
>>
>> My goal was to show that you can get an array
>> of elements having the same className,
>> and that you can change a style for each of them at will.
> That is certainly a viable solution, although the pure CSS solution
> proposed by BootNic is less complex. I'm gratified to see more than one
> approach, certainly.
>>
>> So no need for your[?] idea to load external css-files interactively,
>> making a mess whenever the server or the internet connection
>> momentarily hickups.
> Not my idea!
I wrote [?], the idea stinks.
I fail however to see
how you can have a onclick event with "pure css".
> The only solution I could find in my trawl of JavaScript
> books in my library!
As you can find to be the general meaning in this NG for years now, the
available books about Javascript none of them a good way to learn, better
look for online discussions, especially in this NG.
> Thank you for your help, which is much appreciated.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-26 20:09 +0200
Re: Dynamic CSS adjustments (JavaScript) Philip Herlihy <bounceback@you.com> - 2014-06-27 00:02 +0100
Re: Dynamic CSS adjustments (JavaScript) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-27 02:34 +0200
Re: Dynamic CSS adjustments (JavaScript) Joao Rodrigues <groups_jr-1@yahoo.com> - 2014-06-26 22:43 -0300
JavaScript and CSS in external files???, was Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-27 09:19 +0200
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 10:22 +0200
Re: Dynamic CSS adjustments (JavaScript) Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2014-06-27 17:23 -0300
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 23:28 +0200
Re: Dynamic CSS adjustments (JavaScript) Joao Rodrigues <groups_jr-1@yahoo.com> - 2014-06-27 23:45 -0300
Re: Dynamic CSS adjustments (JavaScript) Tim Streater <timstreater@greenbee.net> - 2014-06-28 10:30 +0100
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 10:19 +0200
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 10:12 +0200
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 10:16 +0200
Re: Dynamic CSS adjustments (JavaScript) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-27 10:16 +0200
Re: Dynamic CSS adjustments (JavaScript) Philip Herlihy <bounceback@you.com> - 2014-06-30 11:02 +0100
Re: Dynamic CSS adjustments (JavaScript) BootNic <bootnic.bounce@gmail.com> - 2014-06-26 23:18 -0400
Re: Dynamic CSS adjustments (JavaScript) Philip Herlihy <bounceback@you.com> - 2014-06-30 11:31 +0100
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-30 13:37 +0200
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-30 13:40 +0200
Re: Dynamic CSS adjustments (JavaScript) Philip Herlihy <bounceback@you.com> - 2014-07-01 12:41 +0100
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-01 14:28 +0200
Re: Dynamic CSS adjustments (JavaScript) Philip Herlihy <bounceback@you.com> - 2014-07-01 15:52 +0100
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-01 18:08 +0200
Re: Dynamic CSS adjustments (JavaScript) Scott Sauyet <scott.sauyet@gmail.com> - 2014-06-30 06:22 -0700
Re: Dynamic CSS adjustments (JavaScript) Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-30 14:32 +0000
Re: Dynamic CSS adjustments (JavaScript) Scott Sauyet <scott.sauyet@gmail.com> - 2014-06-30 13:16 -0700
Re: Dynamic CSS adjustments (JavaScript) Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-30 23:14 +0000
Re: Dynamic CSS adjustments (JavaScript) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-01 09:02 +0200
csiph-web