-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathapp2.html
45 lines (38 loc) · 1.21 KB
/
app2.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
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script type="text/javascript" src="C:\Temp\AJA\Autodesk.AutoCAD.js"></script>
<title>Sample App</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:light">
<link rel="stylesheet" href="acadStyle.css">
<script>
</script>
</head>
<body>
<div class="grid-container">
<div class="item1">
<div class="clsHeader" id="headerText">Pipe Sizes</div>
</div>
<div class="item2">
<iframe id="fragContainer" src="http://syntheticapp.tech/" frameBorder="0"></iframe>
</div>
<div class="item3">
<div class="clsFooter">
<a href="https://www.paypal.me/georgeendrulat">
<button type="button">Donate</button>
</a>
</div>
</div>
</div>
<script>
function getURLParameter(name) {
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\+/g, '%20')) || null;
}
let title = getURLParameter("Title");
document.getElementById("headerText").innerHTML = title;
let frag = getURLParameter("Frag");
//document.getElementById('fragContainer').src = frag;
</script>
</body>
</html>