Forum Moderators: not2easy
Now my next problem is to try to make a link print a jpg without displaying it first.
<div align="center"><a href="ParkingFull.jpg" onclick="window.print();return false"><font size="1"><b><font size="3" face="Arial">Click
here to print Coupon</font></b></font></a></div>
This is printing the page and not the image.
How do I fix this?
Johan
But it would be hard to make the function user friendly and accessible, not to mention cross-browser friendly ( mac doesnt understand the javascript command print(); )
Or, maybe you could make a style switcher, so that when the user presses the link, the @print css would change and make everything hidden except the image. Then add a print(); command to the style switcher function (remember: mac doesnt support this).