forked from pawnesh/family_tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (31 loc) · 1.38 KB
/
index.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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>Jquery plugin for family tree</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width"/>
<link rel="stylesheet" href="jquery-ui.css"/>
<script src="jquery-1.11.0.js"></script>
<script src="jquery-ui.js"></script>
<script src="ps-family.js"></script>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<input type="button" id="sendData" value="send data" onclick="$.send_Family({url: 'save_family.php'})"/>
<div id="pk-family-tree">
</div>
<script>
$('#pk-family-tree').pk_family();
/* $('#pk-family-tree').pk_family_create(
{
data: '{"li0":{"a0":{"name":"1","age":"wewe","gender":"Male","pic":"images/profile.png"},"a1":{"name":"2","age":"23","gender":"Female","relation":"Spouse","pic":"images/profile-f.png"},"ul":{"li0":{"a0":{"name":"3","age":"34","gender":"Male","relation":"Child","pic":"images/profile.png"}},"li1":{"a0":{"name":"4","age":"34","gender":"Female","relation":"Child","pic":"images/profile-f.png"}}}}}'
}
);*/
</script>
</body>
</html>