-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdefault-layout.html
171 lines (152 loc) · 6.37 KB
/
default-layout.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en-US">
{%- include head.html -%}
{%- assign noTitleIndex = "" -%}
{%- if page.noTitleIndex or page.url contains 'release-notes' -%}
{%- assign noTitleIndex = "noTitleIndex" -%}
{%- endif -%}
<style>
#docHead {
top: 95px
}
.docContainer,
.sideBar {
padding-top: 0px;
}
#sideBarCnt.sidebar-fixed {
position: fixed;
top: 0px;
max-height: unset;
}
.rightSideMenu.rsm-fixed {
position: fixed;
top: 20px;
}
.noSubMenuDoc #dynamsoft-header {
border-bottom: 1px solid #ddd;
}
</style>
<body class="noSubMenuDoc">
{% assign url = 'https://www.dynamsoft.com/shared/head/' %}
{% remote_include {{ url }} %}
<div class="sideBarIcon"><i class="fa fa-list" style="margin-right: 5px;"></i> Table of contents</div>
<div class="container" id="categoryMenuTree">
<div class="row">
<main class="docContainer col-xs-12 col-md-9">
<div id="docHead" class="head row hide-xs hide-sm">
{%- include main-page-head.html -%}
</div>
<div class="main row showRightSideMenu" id="articleContent" data-needh3="{{page.needGenerateH3Content}}">
<div class="content markdown-body headCounter {{noTitleIndex}} col-xs-12 col-md-12 col-lg-9 col-xl-10 showRightSideMenu" style="margin-bottom: 20px;">
{{ content }}
</div>
<div class="rightSideMenu col-xs-12 col-md-12 col-lg-3 col-xl-2 hide-md hide-sm hide-xs showRightSideMenu">
<div id="compatibleInfo">
<p>This page is compatible for:</p>
<p class="compatibleCurVersion">Version 2.2.19</p>
</div>
<div id="feedbackFooter" style="color: #306877;">
<p class="fontOswald">Is this page helpful? </p>
<a href="javascript:void(0)" style="color: #306877;" class="recordLink smileLink" onclick="UsefulRecord(true)"><img class="icon-smile" src="{{ site.smile_icon }}" alt="Yes" />Yes</a>
<a href="javascript:void(0)" style="color: #306877;" class="recordLink sadLink" onclick="UsefulRecord(false)"><img class="icon-sad" src="{{ site.sad_icon }}" alt="No" />No</a>
</div>
<hr /> {%- if page.needAutoGenerateSidebar -%}
<p class="fontOswald" style="color: #306877;"> In this article: </p>
<div id="AutoGenerateSidebar"></div>
{%- endif -%}
</div>
</div>
<div class="main row" style="display: none; background: #f5f5f5;" id="loadingContent">
<div class="loading" id="loadingLogin">
<div class="lds-ring"><div></div><div></div><div></div><div></div></div>
</div>
</div>
</main>
<aside class="sideBar col-xs-12 col-md-3 hide-xs hide-sm">
<div id="sideBarCnt">
<div class="docSearchPart" style="margin-top: 30px;">
<input id="txtSearch" class="search" type="text">
</div>
<ul class="mainPage" id="fullTreeMenuListContainer" name="listLevel1">
</ul>
</div>
</aside>
</div>
</div>
<div class="history list" id="categoryMenuTree_history">
<div class="container">
<div class="col-xs-12">
{%- include liquid_autoGenerateHistoryList.html -%} {%- include auto-version-list.html -%}
</div>
</div>
</div>
<div id="footerWrapper">
{%- include page_footer.html -%}
</div>
<iframe id="sideBarIframe" src="{{site.firstLevelUrl}}/Hide_Tree_Page.html" allow="" height="0" frameborder="0"></iframe>
<script>
anchors.add();
UrlReplace();
FullTreeMenuList('{{page.needAutoGenerateSidebar}}', '{{page.needGenerateH3Content}}', '{{page.pageStartVer}}', '{{site.useVersionTree}}');
</script>
<!-- dbr docs -->
<script type="text/javascript">
$('#txtSearch').keydown(function(e) {
if (e.keyCode == 13) {
window.location.href = '/license-server/docs/search.html?q=' + $('#txtSearch').val()
}
})
$(document).ready(function() {
var sd = $(window).scrollTop()
if (sd > 0) {
realFunc2();
}
$(window).resize(function() {
realFunc2();
})
window.addEventListener('scroll', realFunc2);
function realFunc2() {
if (breakpoint() == 'lg') {
var menuHeight = $('#overall-header').height();
var sd = $(window).scrollTop();
if (sd >= $('#overall-header').height()) {
// head and sidebar fixed
$('#docHead').css({
'top': '0px'
});
} else {
$('#docHead').css({
'top': '81px'
});
}
} else {
$('#docHead').css({
'top': 'unset'
});
}
}
})
</script>
{%- include livehelp.html -%}
<!-- Google Tag Manager -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-538F83" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-538F83');
</script>
<!-- End Google Tag Manager -->
</body>
</html>