[thelist] onClick(Image.Print())

Ben Morrison ben.morrison at dogstardesign.co.uk
Wed Jul 2 10:53:10 CDT 2003


On 2/7/03 3:47 pm, "Tom Dell'Aringa" <pixelmech at yahoo.com> wrote:

>> [snip]
>> What I wanted to do is have an image and if the user
>> clicks it, the image would print. much like
>> javascript:window.print(). [snip]
> 
> Use a CSS print stylesheet for those pages. Your print.css sheet
> would have everything as display: none; except your image. If you
> don't know how to this, google 'css print stylesheet' should get you
> what you need.

Window.print doesn¹t work on a mac, and is badly supported.
Use Toms approach, search 'css media="print"'

benjewr




More information about the thelist mailing list