Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35816
| Path | csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Is there a control for this? |
| Date | Thu, 15 Nov 2018 15:49:16 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 24 |
| Message-ID | <87r2fmfiir.fsf@bsb.me.uk> (permalink) |
| References | <3ddf0501-7d86-4862-b47c-4220cd79732e@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | reader02.eternal-september.org; posting-host="d8f46db01fdfa0be882622bf32647f40"; logging-data="9757"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+F+OXlSj+ZUpygm/fkkG6vz1rtwbyAjGA=" |
| Cancel-Lock | sha1:324isqYfz/vs4ibo1EmG8ltND+c= sha1:DBXUoo5M3R+PGO/3U1Nv2ZqGITM= |
| X-BSB-Auth | 1.978a34478c7b31a890ce.20181115154916GMT.87r2fmfiir.fsf@bsb.me.uk |
| Xref | csiph.com comp.lang.javascript:35816 |
Show key headers only | View raw
dr.j.r.stockton@gmail.com writes: > I have several controls, to be all alike, and the first has > been upgraded to (with these 3 inputs on ONE line) :- > > L > <input type=button value="-" onclick="this.nextSibling.value--;Draw()"> > <input name=L type=text size=4 value=13> > <input type=button value="+" onclick="this.previousSibling.value++;Draw()"> > > One of the effects of Draw() is reading the control. > > Is there a better approach nowadays - a single control element, > perhaps? It must accept typed values in L, and a slider would > either be too long or give insufficient resolution. The HTML5 solution is <input type=number> though it's up to the browser how that is rendered. That's not necessarily a negative -- if there's a good way to alter a number on some platform (maybe with a swipe action) they you want that to be made available. <snip> -- Ben.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 04:43 -0800
Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-15 15:49 +0000
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 16:51 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-15 10:17 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-15 23:19 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 03:49 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 12:58 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-16 10:51 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-16 22:33 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-17 03:26 -0800
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-17 21:59 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 06:29 -0800
Re: Is there a control for this? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2018-11-18 15:44 +0000
Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-18 10:35 +0100
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 11:32 +0100
Re: Is there a control for this? Gloops <gloops@zailes.invalid.org.invalid> - 2018-11-29 17:08 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-18 05:37 -0800
Re: Is there a control for this? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-11-18 17:13 +0100
Re: Is there a control for this? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-11-18 21:28 +0100
Re: Is there a control for this? dr.j.r.stockton@gmail.com - 2018-11-19 02:51 -0800
csiph-web