forked from LeonardoCardoso/Facebook-Link-Preview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·30 lines (28 loc) · 1.08 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Link Preview - LeoCardz</title>
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
<link rel="stylesheet" type="text/css" href="css/linkPreview.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="js/linkPreview.js" ></script>
<script type="text/javascript" src="js/linkPreviewRetrieve.js" ></script>
<script>
$(document).ready(function() {
$('#retrieveFromDatabase').linkPreviewRetrieve();
$('#lp1').linkPreview();
$('#lp2').linkPreview({placeholder: "Second Field"});
});
</script>
</head>
<body >
<div class="bar">
<img src="img/leocardz.png" />
</div>
<div class="center">
<div class="linkPreview" id="lp1"></div>
<div class="linkPreview" id="lp2"></div>
<div id="retrieveFromDatabase" ></div>
</div>
</body>
</html>