This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes snap shot of web page with JavaScript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "snap shot of web page with JavaScript" Watch "snap shot of web page with JavaScript" New topic
Author

snap shot of web page with JavaScript

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hi friends,
I have designed a page, kindly a dashboard which is driven internally with JSP and ajax, some html tags, tables etc, This page includes flash charts "swf" files.
I need to take a snap shot of the complete webpage by using JavaScript , i am stuck up here for the snapping of whole page, is there any way to proceed with javascript api ? so that i can take the snap shot of the whole webpage and save as a PDF (Adobe) file or a JPEG ?

Please Assist,


Regards, Atul.
I came to this world on a Learner's License
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript doe snot have the ability to take a screenshot of the page.

Eric
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Eric Pascarello wrote:JavaScript doe snot have the ability to take a screenshot of the page.

Eric



any other way to do?? i want to invoke the snap on click of a button, which would be placed on the page.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41630
    
  55
Why can't the user use the screenshot facilities that is built into the operating system?


Ping & DNS - my free Android networking tools app
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You would have to use an applet or some other clientside language that has the ability to do it. I do not know how to do it in those languages so I am no help there.

Eric
 
wood burning stoves
 
subject: snap shot of web page with JavaScript