Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8189
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: FAQ Topic - How do I find the size of the window? (2011-11-08) |
| Date | Thu, 10 Nov 2011 09:22:07 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 31 |
| Message-ID | <j9fu2t$3d4$1@dont-email.me> (permalink) |
| References | <4eb8710d$0$282$14726298@news.sunsite.dk> <587e394e-3764-467d-89b3-5b4363895580@c7g2000vbj.googlegroups.com> <nrJWjAKksruOFwEx@invalid.uk.co.demon.merlyn.invalid> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Thu, 10 Nov 2011 07:22:05 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="ngroV0xYIIv0dzjhyZhv5A"; logging-data="3492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iblbKW6XasbeKp6bXvj8V" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
| In-Reply-To | <nrJWjAKksruOFwEx@invalid.uk.co.demon.merlyn.invalid> |
| X-Antivirus-Status | Clean |
| X-Antivirus | avast! (VPS 111109-1, 09.11.2011), Outbound message |
| Cancel-Lock | sha1:AAeaBZG+QkeeZ6M17jM+C2UYYb4= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:8189 |
Show key headers only | View raw
11/9/2011 7:40 PM, Dr J R Stockton wrote: > While I'm here : can the effect of script '<element>.style.cursor = > "pointer" ;' be achieved in HTML, and how? Element is a TD or TH. This looks like a trick question, or a rhetorical question, or trolling - I'll take it as a trick question. Although the question has nothing to do with the current Subject, I'll leave it to you to change the Subject if you have an idea of what this really about. The first and obvious answer is yes, with <td style="cursor: pointer"> but I suspect that this won't qualify, since it - like the JavaScript code, too - really makes use of CSS as the essential tool. The next answer is: <td><td><a id=myid42 href=#myid42>Hello world</a></td> There are of course many ways to refute this answer. The theoretical objection is that there is no guarantee that browsers do what they actually do with links. A more practical point is that the effect spans only the link, not the cell, and there can be a huge difference (depending on other cells in the same column, and styling) - and fixing this with CSS would cause the same objections as the first answer. The solution has some side effects, too, but side effects were not forbidden in the question. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
FAQ Topic - How do I find the size of the window? (2011-11-08) "FAQ server" <javascript@dotinternet.be> - 2011-11-08 00:00 +0000
Re: FAQ Topic - How do I find the size of the window? (2011-11-08) David Mark <dmark.cinsoft@gmail.com> - 2011-11-08 06:10 -0800
Re: FAQ Topic - How do I find the size of the window? (2011-11-08) Dr J R Stockton <reply1145@merlyn.demon.co.uk> - 2011-11-09 17:40 +0000
Re: FAQ Topic - How do I find the size of the window? (2011-11-08) "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-10 09:22 +0200
Re: FAQ Topic - How do I find the size of the window? (2011-11-08) David Mark <dmark.cinsoft@gmail.com> - 2011-11-10 06:13 -0800
csiph-web