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


Groups > comp.lang.javascript > #22762

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 18:37 +0200
Organization A noiseless patient Spider
Message-ID <lbrgfv$jjv$1@dont-email.me> (permalink)
References (1 earlier) <lbr26j$7gp$1@speranza.aioe.org> <XnsA2BEA2F2E8D71eejj99@194.109.133.133> <XnsA2BEA4FE460A9eejj99@194.109.133.133> <lbre4i$5au$1@dont-email.me> <XnsA2BEAE5DEA9A5eejj99@194.109.133.133>

Show all headers | View raw


2014-01-23 18:08, Evertjan. wrote:

>> 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.
>
> Wrong.
>
>   onclick="alert('hi');"
>
> always needs Javascript to work.

A previous suggestion of yours has <input type='image' ...> and it may 
work even if JavaScript is disabled (namely when it is inside a form or, 
more generally, has a form owner).

> As this NG is not a helpdesk, I am not interested so much as you seem to do
> in what the OP wants, I take what the OP writes on face value, and like to
> discuss the matter and its derivatives with the group.

It seems that you are just throwing some random snippets of code, some 
of which aren't even valid markup.

If you know what the face value is (that is, which specific problem you 
are trying to address), then you should say it.

-- 
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