Online Shopping : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 13 people (15%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How can I take a screenshot of the current Frame and send it to the Webserver?

Apr 8th, 2008 17:49
ha mo, b w, Josef Gruber, Colin Fraser,


Javascript is a clientside scripting language that is designed to take 
care of some basic functionality of forms, image handling and a range 
of other browser activities. This sort of graphics control is better 
dealt with using Java, or any number of other server-side applications.
Thanks for the answer.
I think the question was not detailed enough.
I want to take the screenshot from a frame, displayed in the browser at
the client side and send the content of the screenshot  back to the
webserver. This content should be included into a report on the
webserver, which ist send back to the client as a PDF-Document.
A:
The client (human) must use a 3rd party program to make the screenshot
then upload it through some file upload interface (<input type="file">
for example). It's impossible to make a screenshot of currently
rendered/displayed page just using javascript in most browsers. This is
being added as an experimental feature in Firefox 1.5, but still
accessible only from browser level javascript (.xpi browser extensions)
and not from external webpages.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com