Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e14fd0bb92
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (33 sloc) 1.488 kb
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Embedly - Embed - Example</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="../jquery.embedly.js"></script>
<style>
BODY {background-color:#333333;}
#content{background-color:#FFFFFF;margin:0 auto;width:800px;}
#embedform {width:600px;margin: 20px auto;}
#embedform .url{border:1px solid #AAAAAA;font-size:1.5em;margin:10px 0;padding:5px;width:75%;}
#embedform .submit{float:right;font-size:1.7em;margin-top:10px;}
#embed {margin:auto;text-align:center;width:600px;}
#header{margin:0 auto;width:800px; height:75px;}
a img {border:none;}
li {list-style:none; margin:20px; }
</style>
</head>
<body>
<div id="header"><a href="http://api.embed.ly"><img src="http://api.embed.ly/static/img/header_orange.png"/></a></div>
<div id="content" class="main">
<ul>
<li><a href="http://www.scribd.com/doc/24791195/Mercantile-Law">Scrib</a></li>
<li><a href="http://www.slideshare.net/Tatu.05/earth-hour-2010-3575769">Slideshare</a></li>
</ul>
</div>
<script type="text/javascript">
$(document).ready(function() {
$("a").embedly({maxWidth: 400, wrapElement: 'div', method : "after" });
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.