Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36836
| From | James Harris <james.harris.1@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | How to make on-clickable div text look clickable |
| Date | 2019-06-08 10:52 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <qdg0hs$kmc$1@dont-email.me> (permalink) |
When you programmatically make text clickable by adding a click-event listener do you have a preferred way of making that text look clickable? I found that browsers don't change the appearance of the text, by default. I guess I could go to the trouble of changing styling specifically for the div text and maybe for mouseover events etc. But I wonder if there's an easier way to do this. Or, failing that, a recommended set of styling settings. I should say I am not sure it would be good to use /all/ the browser's default formatting for this case. For example, it may be best not to use underlining. Not sure yet. But I do want the clickable div texts to look clickable, as opposed to looking like plain text, and I wondered if you guys knew of or had a preferred way of doing so. I guess this is a common situation. Ideas welcome. -- James Harris
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
How to make on-clickable div text look clickable James Harris <james.harris.1@gmail.com> - 2019-06-08 10:52 +0100
Re: How to make on-clickable div text look clickable Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-06-08 12:14 +0200
Re: How to make on-clickable div text look clickable "R.Wieser" <address@not.available> - 2019-06-08 15:58 +0200
Re: How to make on-clickable div text look clickable James Harris <james.harris.1@gmail.com> - 2019-06-08 19:25 +0100
Re: How to make on-clickable div text look clickable Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-06-08 20:42 +0200
Re: How to make on-clickable div text look clickable "R.Wieser" <address@not.available> - 2019-06-09 10:02 +0200
Re: How to make on-clickable div text look clickable James Harris <james.harris.1@gmail.com> - 2019-06-08 19:17 +0100
Re: How to make on-clickable div text look clickable Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2019-06-08 20:40 +0200
csiph-web