/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Evernote clipping test</title> <script type="text/javascript" src="http://static.evernote.com/noteit.js"></script> </head> <body> <div id="content"> Site Memory works best when you tell it what to clip. You do this by identifying the ID of the HTML element on your page that contains your content. For example, on this page, content is contained within the element, so we would enter content in the field below. If you aren't familiar with your site's HTML, don't worry. We are working with leading blogging and site development tools to make adding Evernote Site Memory really simple. Stay tuned. </div> <a href="#" onclick="Evernote.doClip({contentId:'content'}); return false;"> <img src="http://static.evernote.com/article-clipper.png" alt="Clip to Evernote" /> </a> </body> </html>