Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #36848

Re: How to make on-clickable div text look clickable

From James Harris <james.harris.1@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: How to make on-clickable div text look clickable
Date 2019-06-08 19:17 +0100
Organization A noiseless patient Spider
Message-ID <qdgu3r$s8g$2@dont-email.me> (permalink)
References <qdg0hs$kmc$1@dont-email.me> <button-20190608110402@ram.dialup.fu-berlin.de>

Show all headers | View raw


On 08/06/2019 11:05, Stefan Ram wrote:
> Supersedes: <button-20190608110113@ram.dialup.fu-berlin.de>
> [Added: » type="button"«]
> 
> James Harris <james.harris.1@gmail.com> writes:
>> When you programmatically make text clickable by adding a click-event
>> listener do you have a preferred way of making that text look clickable?
> 
> <button type="button">Text</button>

I was surprised at your idea of a button, thinking it would be something 
with rounded-rectangle borders etc but then I saw this:

   https://www.w3schools.com/howto/howto_js_accordion.asp

So I have to choose between a clickable button which doesn't look like a 
button and clickable text which can be made more button like! Sometimes 
there are too many options. ;-)

-- 
James Harris

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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