how do I initialize html2canvas?

I downloaded the html2canvas javascript plugin that allows me to take a screenshot of a web page on the client side (the browser), but I can't figure out what files I'm supposed to include in the header of the page to use it, I've seen examples on how to use it, but what files should I include?

Answers


From the various demo pages, it appears you only need the single script(a or b) included in your header.

This is different from an older version of the script, which needed jQuery, html2canvas.js, and jquery.plugin.html2canvas.js.

I can't comment on the two other scripts included in the /dist directory(the svg ones), given I can't find any examples of their use.


Need Your Help

How do I create a 'dynamic' pointer in c++

c++ pointers vector

I have a class unit, with an element int holding[4];

Which RFID standards can be read by an NFC reader on an Android phone?

android nfc rfid

I want to make an RFID reader using the NFC chip inside an Android mobile phone, say the Galaxy S3. After some Googling, I have found that Android supports a few NFC tag technologies and that some of

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.