PDA

View Full Version : Saving DHTML to JPG button on web page



Naughty Paul
03-11-2006, 08:53 PM
I have been trying to find a way to allow visitors to a DHTML web site I am designing to easily save the webpage as a jpg. There is a solution using java at http://www.itjungle.com/mpo/mpo062002-story01.html . Any tips on how this could be done in Dhtml or javascript?

Twey
03-11-2006, 09:32 PM
I'm afraid I don't believe it's possible. In fact, even the Java solution doesn't work very well; it relies on ActiveX, limiting your users to IE/Win, and a rather unpleasant feature of that, futher denying all users who've it disabled.

As a side note: the Java solution there uses a batch script, and runs it minimized in an attempt to hide its window. If one edits the .lnk file and sets the long integer (four bytes) at offset 0x3C to 0, it's possible to have the target run completely hidden.

Naughty Paul
03-14-2006, 05:22 PM
Hi Twey,
Thank you for letting me know.
Greatly appreciated.

Paul