Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15478
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="UTF-8" |
| Message-ID | <1615644.IcWXoroVV2@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Tue, 21 Aug 2012 14:33:41 +0200 |
| User-Agent | KNode/4.4.11 |
| Content-Transfer-Encoding | 8Bit |
| X-Face | %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== |
| Subject | Re: radio buttons with. checkbox |
| Newsgroups | comp.lang.javascript |
| References | <k0o75t$iac$1@speranza.aioe.org> <2760364.jIkiNM8doB@PointedEars.de> <k0tacn$l8s$1@speranza.aioe.org> <2066056.VtcmPVeGr1@PointedEars.de> <k0vmcr$v9a$1@speranza.aioe.org> |
| Followup-To | comp.lang.javascript |
| MIME-Version | 1.0 |
| Lines | 97 |
| NNTP-Posting-Date | 21 Aug 2012 14:33:43 CEST |
| NNTP-Posting-Host | bff16118.newsspool3.arcor-online.net |
| X-Trace | DXC=^PlCY5<0>Na]BlmkiiU@BiMcF=Q^Z^V3h4Fo<]lROoRa8kF<OcfhCOkN7R:9EjSaToDZm8W4\YJNlb@mF9jNikdeWBOS=`\XS>fj>DiRjBeX0e |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.javascript:15478 |
Followups directed to: comp.lang.javascript
Show key headers only | View raw
emf wrote:
> On 2012-08-20 10:25 Thomas 'PointedEars' Lahn wrote:
> however, I have made some idiotic mistakes or asked foolish questions
> that I would rather not have associated with my real name in perpetuity.
IOW, you are not willing to stand by your mistakes, which demonstrates a
serious lack of character.
> At least now someone will have to do some detective work to find what I
> have written, and hopefully these damned robots won't care to start
> doing this any time soon.
IOW, you are not willing to show your readers the basic simple courtesy of
introducing yourself, and you are shifting your burdens onto your readers.
Do not be surprised if your readers are not willing to read, let alone
download, your postings then.
>>> And instead of
>>> <input type="reset"...> I now use
>>>
>>> <input type="button" ... onclick="clearValues()>
>>
>> Another bad idea. You can keep the reset button (if you must) *and* use
>> an event-handler attribute on it.
>
> I have to think about this. I certainly prefer to clear only the
> textfields and keep the buttons and checkbox unchanged, in case someone
> has to solve a number of problems using the same input/output. It's not
> immediately obvious to me how I could implement what you refer to.
<input type="reset" onclick="…">
> In the meantime Sam's code has greatly improved the appearance of the
> function.
AFAIK, his first name is Stéphane.
>>> PS. How do you insert number superscripts when typing a message? I am
>>> using DejaVu fonts that has in superscript form all the numbers, but I
>>> do not see an easier way to insert them than by opening the Character
>>> Map.
>>
>> Using XKB and typing `^1' etc. (without quotes).
>
> Thanks. It also works in Thunderbird.
It works in Thunderbird on the X Window System as it works in KNode on the X
Window System. Thunderbird on Windows, on the other hand, only replaces ^
followed by 1 with ¹ *when the message is displayed*, while on the X Window
System with XKB I can *type* the Unicode character by typing ^ immediately
followed by 1. That is a different thing.
> I've been thinking one day of using subscripts in JavaScript code too (C₁,
> C₂ instead of C1, C2) but that will have to wait until at least all the
> main fonts contain U-2070 to U-2090 characters (like the DejaVu fonts do).
Subscripted numbers must not be part of an Identifier or IdentifierName as
they are not within the allowed subsets, see the ECMAScript Language
Specification, 5.1 Edition, section 7.6:
<http://ecma-international.org/ecma-262/5.1/#sec-7.6>
> I hope you do not object to my using π instead of Math.PI?
If you write
var π = Math.PI;
and then use π throughout, your code is (other errors aside) a syntactically
valid ECMAScript Program (π has the Unicode Ll [lowercase letter] property).
If you use π afterwards repeatedly instead of Math.PI, there will be a
slight increase in performance as the effective scope chain is likely
shorter and fewer property lookups are required – 1 (π) instead of 2 (Math
and Math.PI).
However, it will probably not be backwards-compatible to JScript < 5.5.6330,
JavaScript < 1.5, V8 < 3.7.12.12, JavaScriptCore < 531.22.7, Opera < 7.02,
and KJS < 4.6.5. It will also require the file to be encoded using a
Unicode or compatible encoding, such as UTF-8, and the encoding declared as
such when transmitting it via HTTP.
> That was easy for me to implement, because I am used to alternating
> between the Greek and the English keyboards.
I have defined π at AltGr-p on this Swiss German keyboard:
key <AD10> { [ p, P, Greek_pi, U220F ] };
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-18 10:03 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-18 17:36 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-19 09:30 -0400
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-19 12:11 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 14:00 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-20 09:05 -0400
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 16:11 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 05:25 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-21 14:36 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 12:24 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 12:13 +0200
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-20 16:27 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-20 21:58 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 10:58 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 10:41 +0200
Re: radio buttons with. checkbox "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-08-22 10:14 +0000
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:31 +0200
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-18 19:18 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-20 08:29 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-20 16:25 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 06:06 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-21 14:33 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-21 10:51 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 11:42 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:27 +0200
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-22 20:24 +0100
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-23 11:06 +0200
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-25 17:01 +0100
Re: radio buttons with. checkbox Dr J R Stockton <reply1234@merlyn.demon.co.uk.invalid> - 2012-08-22 19:58 +0100
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-22 02:20 -0400
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-08-22 10:44 +0200
Re: radio buttons with. checkbox SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-08-22 14:40 +0200
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-08-26 00:16 -0400
Re: radio buttons with. checkbox emf <emfril@gmail.com> - 2012-09-03 07:19 -0400
Re: radio buttons with. checkbox David Mark <dmark.cinsoft@gmail.com> - 2012-09-03 21:02 -0700
Re: radio buttons with. checkbox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-09-04 13:44 +0200
Re: radio buttons with. checkbox David Mark <dmark.cinsoft@gmail.com> - 2012-09-04 06:00 -0700
csiph-web