Reputation:
this is image. In this i want to convert +sign part, - sign part as button .And the first part is a text box
how can i do that?
when + is clicked number need to be increased , - is clicked number need to be decreased .
Upvotes: 0
Views: 656
Reputation: 2569
You can try map tag for your image
<img src="myImage.gif" width="180" height="126" usemap="#mymap">
<map name="mymap">
<area shape="rect" coords="<!-- cordinates-->" href="#" onclick="increase()" >
<area shape="rect" coords="<!-- cordinates-->" href="#" onclick="decrease()" >
</map>
You can also define cursor styles for you image portions.
Reference: http://www.w3schools.com/TAGS/tag_area.asp
Upvotes: 1