planit
Version:
Interactive markers on an image or blank canvas
40 lines (34 loc) • 866 B
HTML
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Planit / Basic Example</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="../planit.css">
<script src="js/jquery-1.11.2.min.js"></script>
<script src="../planit.js"></script>
<script src="js/modernizr-2.8.3.min.js"></script>
<style>
#planit {
width: 90%;
}
</style>
</head>
<body>
<div id="planit"></div>
<script>
p = planit.new({
markers: [
{
coords: [50, 50],
infobox: {
html: '<h1>Hello World</h1>'
}
}
],
});
</script>
</body>
</html>