Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src="getxml.js"></script>
- <script src="getorgchart/getorgchart.js"></script>
- <link href="getorgchart/getorgchart.css" rel="stylesheet" />
- <style type="text/css">
- html, body {
- margin: 0px;
- padding: 0px;
- width: 100%;
- height: 100%;
- }
- #conditions {
- width: 100%;
- height: 100%;
- }
- </style>
- </head>
- <body onload="getXML()">
- <div id = "conditions"></div>
- <div style="float: right; width: 10%; height:100%; text-align:center; display: none;" ></div>
- <table id="orgChartData" >
- <tr>
- <th>title</th>
- </tr>
- <tr>
- <script type="text/javascript">
- var conditionsElement = document.getElementById("conditions");
- var orgChart = new getOrgChart(conditions, {
- theme: "deborah",
- linkType: "B",
- primaryFields: "title",
- enableGridView: true,
- dataSource: document.getElementById("orgChartData")
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement