[thelist] onClick(Image.Print())
Jason Handby
jasonh at pavilion.co.uk
Wed Jul 2 10:52:09 CDT 2003
> I'm not quite sure how to accomplish this, but I have an idea and
> am seeking
> a better one. What I wanted to do is have an image and if the user clicks
> it, the image would print. much like javascript:window.print().
>
> That won't work since prints the whole page out.
Could you put the image on a page on its own, and then load that page in an
IFRAME in your main page? Then when you do javascript:window.print() in the
link around your image, it'll just print that page (which contains the image
and nothing else)... See what I mean?
Jason
More information about the thelist
mailing list