Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <4806030.DB8a5UpFJW@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 09 Feb 2013 14:35:12 +0100 User-Agent: KNode/4.8.5 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+&. tag in IE Newsgroups: comp.lang.javascript References: <25195843.3QlCK3s5Ws@PointedEars.de> MIME-Version: 1.0 Lines: 66 NNTP-Posting-Date: 09 Feb 2013 14:35:13 CET NNTP-Posting-Host: 68e1f5b0.newsspool3.arcor-online.net X-Trace: DXC=U[GSh6GT2LEMcF=Q^Z^V3H4Fo<]lROoRA8kFB0J58S7T[L Thomas 'PointedEars' Lahn writes: >> Tim Slattery wrote: >>> >> >> If at all necessary, at least generate the “a” element dynamically so >> that users where it cannot work do not have to bother with the >> non-working element in the first place. > > But that would rather reliably enable user interaction without a > pointing device, What good is a clickable element if nothing happens – or worse, something unexpected and unwanted happens, like scrolling to the top of the document – when it is clicked? > and without jumping through hoops in terms of implementation. IBTD. or or something along those lines (the simplest way without document.write() would be to use an element node with an ID as reference node; implementation of that is left as an exercise to the reader). > How would that be better than just plonking some SPAN or > DIV element in the HTML source and unconditionally style it as an > interactive element, just in case, as has been suggested earlier in > this threat? An element that is not there in the first place when it could not do anything useful cannot be activated in order to do nothing useful. An element that is merely styled can still be activated even when it cannot do anything useful; the implementation of CSS is optional on top of that. Good user interface design aims to reduce the probability of user errors. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.