i am trying to do it simple and will be happy to see / hear, examples / ideas
for the right approach :
suppose i have an jpg image: width of 780px and height of 2546px
that contains coupons.
my goal is to click on a coupon and print it…
my question is what is the best way to implement it
i thought about image map the will trigger a java script call when ever specific “coupon” is clicked and through the image map specification it would load an image(of the specific) coupon for printing.
i think that maybe there is a better solution..
keep in mind that my only option is one large image that contains coupons for printing.
i did it eventually with the use of image maps:
coordinated the ‘send to print button’ and send to javascript ‘print()’ method that accept parameter
the parameter is a number of a picture(coupon)
i have a folder that contains all the coupons images:
1.jpg, 2.jpg ….. etc’
the print method retrieve the string (1.jpg)
and then print it.