Created
October 18, 2011 19:19
-
-
Save screeley/1296404 to your computer and use it in GitHub Desktop.
jquery.preview.js Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> | |
<script src="http://scripts.embed.ly/p/0.1/jquery.preview.full.min.js" type="text/javascript"></script> | |
<link rel="stylesheet" href="http://scripts.embed.ly/p/0.1/css/preview.css" /> | |
</head> | |
<body> | |
<form action="/update" method="POST"> | |
<input id="url" type="text" name="url"/> | |
</form> | |
<script> | |
$('#url').preview({key:'your_embedly_key'}) | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment