Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

How do i make image clickable rather than Button

How do i make image clickable rather than Button
<script src="http://gettopup.com/releases/latest/top_up.js" type="text/javascript">
</script>
<div style="text-align: center">

</div>

<div id="examples">
<input class="tu_iframe_800x2000" href="http://astore.amazon.co.uk/ilike004-21" type="button" value="Amazon UK Store Click Here" /></div>

<div id="examples">
<input class="tu_iframe_800x2000" href="http://astore.amazon.com/daveknowsall-20" type="button" value="Amazon US Store Click Here" /></div>
<script type="text/javascript">
      TopUp.addPresets({
        "#examples a": {
          effect: "clip"
        },
        "#examples input": {
          shaded: 1, effect: "fade", overlayClose: 1
        }
      });
    
</script>

Open in new window

0
kepners
Asked:
kepners
  • 2
1 Solution
 
leakim971PluritechnicianCommented:
<input type="image" src="submit.gif" alt="Submit" />

http://www.w3schools.com/tags/att_input_type.asp
0
 
Michel PlungjanIT ExpertCommented:
Ahem, leakim, that is a submit button! Also please look here: http://w3fools.com/

instead do

<input class="tu_iframe_800x2000" onclick="location='http://astore.amazon.co.uk/ilike004-21'" type="button" value="Amazon UK Store Click Here" />

0
 
kepnersAuthor Commented:
cheers it worked but a little thought was needed to combine my code with that answer that was given. it was the technical answer but not the answer coded and finished
0
 
Michel PlungjanIT ExpertCommented:
But the answer was wrong unless you used a form with an action too
0

Featured Post

Eye-catchers on the conference table

Challenge: The i-unit group was not satisfied with the audio quality during remote meetings. They were looking for a portable solution with excellent audio quality for use in their conference room but also at their client’s offices.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now