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


Groups > comp.lang.javascript > #22759

Re: How to transform a image into clickable button?

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: How to transform a image into clickable button?
Date 2014-01-23 17:57 +0200
Organization A noiseless patient Spider
Message-ID <lbre4i$5au$1@dont-email.me> (permalink)
References <c53894b4-67ec-4764-a9ac-1fa52bc2e40b@googlegroups.com> <lbr26j$7gp$1@speranza.aioe.org> <XnsA2BEA2F2E8D71eejj99@194.109.133.133> <XnsA2BEA4FE460A9eejj99@194.109.133.133>

Show all headers | View raw


2014-01-23 17:13, Evertjan. wrote:

> Silly me, try:
>
> <img src='my.jpg' onclick="alert('hi');">

So now you have made it work if JavaScript is enabled and if the image 
is displayed. A previous suggestion of yours might have worked even if 
JavaScript is disabled.

We don't really know what the OP wants, still less what (s)he needs. I 
wonder what "email mkt" is, what the existing buttons are, and in which 
sense the image should be transformed to a button and in which sense it 
should become clickable.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

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


Thread

How to transform a image into clickable button? vla.figueiredo@gmail.com - 2014-01-21 13:14 -0800
  Re: How to transform a image into clickable button? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-21 22:57 +0100
  Re: How to transform a image into clickable button? Denis McMahon <denismfmcmahon@gmail.com> - 2014-01-21 22:30 +0000
  Re: How to transform a image into clickable button? Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2014-01-23 10:33 -0200
    Re: How to transform a image into clickable button? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-23 16:01 +0100
      Re: How to transform a image into clickable button? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-23 16:13 +0100
        Re: How to transform a image into clickable button? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-01-23 17:57 +0200
          Re: How to transform a image into clickable button? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-23 17:08 +0100
            Re: How to transform a image into clickable button? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-01-23 18:37 +0200
              Re: How to transform a image into clickable button? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-23 20:13 +0100
                Re: How to transform a image into clickable button? "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-01-23 21:23 +0200

csiph-web