-
Notifications
You must be signed in to change notification settings - Fork 0
/
map.html
33 lines (24 loc) · 1.14 KB
/
map.html
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
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>SVG Map</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link href='http://fonts.googleapis.com/css?family=Raleway:400,100,300' rel='stylesheet' type='text/css'>
</head>
<body>
<h1>SVG Map Sample</h1>
<p>SVG Map built with <a target="_blank" href="http://raphaeljs.com/">Raphaël JS</a> and the aid of <a target="_blank" href="http://www.readysetraphael.com/">Ready Set Raphael</a>. Based on Andy Fitch's <a target="_blank" href="http://parall.ax/blog/view/2985/tutorial-creating-an-interactive-svg-map">guide</a>. Text boxes populated with <a target="_blank" href="http://www.cipsum.com/">Corporate Ipsum</a></p>
<div id="map" class="infographic">
<!-- Raphaël JS Map Here -->
</div>
<div class="infobox">
<span class="infobox__title">Region name</span><br/>
<span class="description">Bla bla bla</span>
<a href="#" class="infobox__close">X</a>
</div>
<script src="raphael-min.js"></script>
<script src="map.js"></script>
</body>
</html>