-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocumentation.html
More file actions
275 lines (246 loc) · 11.2 KB
/
documentation.html
File metadata and controls
275 lines (246 loc) · 11.2 KB
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Script This - Documentation</title>
<meta name="description" content="Comprehensive guide and documentation for Script This, your ultimate tool for JSON data visualization.">
<link rel="stylesheet" href="styles.css">
<style>
body,
html {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}
.content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
background-color: #1e1e1e;
}
.section-container {
max-width: 1200px;
margin: 20px auto;
background-color: #2d2d2d;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
text-align: left;
overflow: hidden;
}
.collapsible-header {
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 30px;
background-color: #333;
border-radius: 8px 8px 0 0;
}
.collapsible-header h2,
.collapsible-header h3 {
margin: 0;
flex-grow: 1;
}
.collapsible-indicator {
font-size: 1.2em;
transition: transform 0.3s;
}
.collapsed .collapsible-indicator {
transform: rotate(-90deg);
}
.collapsible-content {
max-height: 0;
padding: 0 30px;
overflow: hidden;
transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.expanded .collapsible-content {
max-height: 1000px; /* Set to a large value to ensure full expansion */
padding: 20px 30px;
}
h2, h3 {
color: #8a2be2;
border-bottom: 2px solid #6a0dad;
padding-bottom: 5px;
}
p {
line-height: 1.6;
margin-bottom: 15px;
color: #e0e0e0;
}
footer {
background: rgb(20, 20, 20);
color: #dcdcdc;
text-align: center;
padding: 15px;
width: 100%;
border-top: 2px solid #6a0dad;
position: relative;
}
@media (max-width: 768px) {
.section-container {
margin: 20px;
min-height: auto;
}
}
@media (min-width: 1200px) {
.section-container {
max-width: 95%;
min-height: auto;
}
}
@media (min-width: 1920px) {
body {
max-width: 100vw;
max-height: 100vh;
min-height: 80vh;
}
.section-container {
min-height: auto;
max-width: 95%;
}
}
</style>
</head>
<body>
<header>
<div id="logo">
<img src="ScriptThisLogoMain.png" alt="Script This Logo">
</div>
<p>Your Ultimate Tool for Lua Script Management</p>
<nav>
<ul class="navbar">
<li><a href="Home.html">Home</a></li>
<li><a href="json-viewer.html">JSON Viewer</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="documentation.html">Documentation</a></li>
</ul>
</nav>
</header>
<div class="content">
<main class="content-container">
<section class="section-container">
<div class="collapsible-header">
<h2>Documentation</h2>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>Welcome to the documentation for Script This.
This guide provides detailed insights into the features and functionalities of our platform,
designed to optimize your experience in JSON data visualization.</p>
<p>Please be awre that this website is undergoing development and may change, even as youre using it.
Feel free to contribute to this open-source project!</p>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>Features Overview</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<ul>
<li><strong>JSON Viewer:</strong> A comprehensive tool for visualizing and manipulating JSON data with both code and tree views available.</li>
<li><strong>Tree Style Customization:</strong> Customize the appearance of your data with multiple tree styles for enhanced viewing.</li>
<li><strong>Search and Multi-Select:</strong> Efficiently locate specific data points within JSON files using advanced search and multi-select capabilities.</li>
<li><strong>Clipboard Management:</strong> Utilize the clipboard tray for collecting and managing data snippets seamlessly.</li>
<li><strong>Music Sidebar:</strong> Integrate music into your workflow with curated playlists designed for coding, relaxation, or focus.</li>
<li><strong>Help and Support:</strong> Access comprehensive support through help overlays and tooltips for navigating platform features.</li>
</ul>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>JSON Viewer</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>The JSON Viewer provides a versatile environment to view and manipulate JSON data. It offers both code and tree views to cater to different user preferences:</p>
<ul>
<li><strong>Code View:</strong> For users who prefer a raw data approach, the code view allows direct editing of JSON content.</li>
<li><strong>Tree View:</strong> Provides a structured visual representation of JSON data, simplifying navigation and comprehension.</li>
<li><strong>Expand/Collapse All:</strong> Easily manage the visibility of data nodes with expand and collapse controls.</li>
</ul>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>Customization Options</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>Enhance your user experience with our customization options:</p>
<ul>
<li><strong>Tree Styles:</strong> Choose from various tree styles to best fit your data exploration needs.</li>
<li><strong>Adjustable Layout:</strong> Modify the layout to suit your screen size and personal preferences.</li>
</ul>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>Search and Clipboard Features</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>Boost your productivity with advanced search and clipboard functionalities:</p>
<ul>
<li><strong>Search:</strong> Quickly locate specific data elements within JSON files using the search feature.</li>
<li><strong>Multi-Select Mode:</strong> Enable multi-select to perform batch operations on selected items.</li>
<li><strong>Clipboard Tray:</strong> Manage selected data conveniently with the clipboard tray.</li>
</ul>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>Music and Support</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>Enhance your workflow with built-in support and music options:</p>
<ul>
<li><strong>Music Sidebar:</strong> Choose from a selection of playlists to complement your work environment.</li>
<li><strong>Help and Tooltips:</strong> Utilize tooltips and help overlays for quick access to guidance and support.</li>
</ul>
</div>
</section>
<section class="section-container">
<div class="collapsible-header">
<h3>Getting Started</h3>
<span class="collapsible-indicator">▶</span>
</div>
<div class="collapsible-content">
<p>Ready to begin using Script This? Visit the <a href="json-viewer.html">JSON Viewer</a> to explore your data and take advantage of our platform’s features for an optimized workflow. For further assistance, please refer to the sections above or contact us via the <a href="contact.html">Contact</a> page.</p>
</div>
</section>
</main>
</div>
<footer>
<p>© 2024 Script This. All rights reserved.</p>
</footer>
<script>
document.addEventListener('DOMContentLoaded', () => {
const collapsibleHeaders = document.querySelectorAll('.collapsible-header');
collapsibleHeaders.forEach(header => {
header.addEventListener('click', () => {
const section = header.parentElement;
const content = section.querySelector('.collapsible-content');
const isExpanded = section.classList.contains('expanded');
if (isExpanded) {
section.classList.remove('expanded');
content.style.maxHeight = null;
} else {
section.classList.add('expanded');
content.style.maxHeight = auto;
}
});
});
});
</script>
</body>
</html>