-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFAQ_Board.html
More file actions
491 lines (459 loc) · 23.7 KB
/
FAQ_Board.html
File metadata and controls
491 lines (459 loc) · 23.7 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="tmp.css">
<link rel="stylesheet" href="FAQ_style.css">
<link rel="icon" type="파비콘/png" href="image/파비콘.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<title>광운대학교 컴퓨터정보공학부</title>
<script>
const content = [
{ title: "공지사항 ", url: "events.html" },
{ title: "자료집", url: "resources.html" },
{ title: "FAQ 페이지", url: "FAQ_Board.html" },
{ title: "홈페이지", url: "index.html" },
{ title: "소모임 소개", url: "club.html" },
{ title: "Plan_manager", url: "Plan_manager.html" },
];
function searchContent() {
const query = document.getElementById('search-bar').value.toLowerCase();
const resultsContainer = document.getElementById('search-results');
resultsContainer.innerHTML = '';
if (query.trim() === '') {
resultsContainer.style.display = 'none';
return;
}
const results = content.filter(item => item.title.toLowerCase().includes(query));
if (results.length > 0) {
resultsContainer.style.display = 'block';
resultsContainer.innerHTML = results.map(item =>
`<p><a href="${item.url}" style="text-decoration: none; color: black;">${item.title}</a></p>`
).join('');
} else {
resultsContainer.style.display = 'block';
resultsContainer.innerHTML = '<p style="color : black">검색 결과가 없습니다.</p>';
}
// 3초 후 검색 결과 숨기기
setTimeout(() => {
resultsContainer.style.display = 'none';
}, 3000); // 3초
}
//엔터로 검색 기능
document.addEventListener('DOMContentLoaded', () => {
const searchBar = document.getElementById('search-bar');
searchBar.addEventListener('keydown', (event) => {
if (event.key === 'Enter') {
event.preventDefault(); // 기본 동작 방지
searchContent();
}
});
});
</script>
</head>
<body>
<!-- 헤더 -->
<header>
<div class="logo">
<a href="index.html"> <!-- 이미지를 링크로 감싸기 -->
<img src="image/광운대학교.png" alt="Kwangwoon University Logo">
</a>
<h1>컴퓨터정보공학부 학생회</h1>
</div>
<div class="search-container">
<input type="text" id="search-bar" placeholder="검색..." />
<span class="search-icon" onclick="searchContent()">⌕</span>
<div id="search-results" style="display: none;"></div>
<nav class="menu-links">
<a href="index.html">홈페이지</a>
<a href="resources.html">자료집</a>
<a href="events.html">공지사항</a>
<a href="FAQ_Board.html">FAQ</a>
</nav>
</div>
</header>
<!-- 사이드바 -->
<div class="side-bar">
<div class="links">
<ul>
<li><a href="login.html" style="color:white; text-decoration:none;">로그아웃</a></li>
<li><a href="index.html" style="color:white; text-decoration:none;">홈페이지</a></li>
<li><a href="events.html" style="color:white; text-decoration:none;">자료집</a></li>
<li><a href="events.html" style="color:white; text-decoration:none;">공지사항</a></li>
<li><a href="club.html" style="color:white; text-decoration:none;">소모임 소개</a></li>
<li><a href="introduce_2.html" style="color:white; text-decoration:none;">학과 소개</a></li>
<li><a href="FAQ_Board.html" style="color:white; text-decoration:none;">FAQ</a></li>
<li><a href="Plan_manager.html" style="color:white; text-decoration:none;">Plan Manager</a></li>
</ul>
</div>
<div class="footer-links">
<a href="https://www.kw.ac.kr" target="_blank">광운대학교 홈페이지</a>
<a href="https://sw.kw.ac.kr" target="_blank">인융대 홈페이지</a>
</div>
</div>
<div class="faq-container">
<!-- 분야 선택 드롭다운 -->
<div class="faq-category">
<label for="category-select">분야 선택: </label>
<select id="category-select" onchange="showCategory()">
<option value="general">일반</option>
<option value="activity">행사 및 활동</option>
<option value="club">동아리 및 소모임</option>
<option value="study">학업 및 학사</option>
<option value="welfare">복지 및 지원</option>
<option value="others">기타 문의</option>
</select>
</div>
<!-- FAQ 내용 -->
<div id="general" class="faq-section">
<h2>학생회 FAQ</h2>
<input type="text" id="general-search" onkeyup="searchFAQ('general')" placeholder="질문 및 답변 검색..." />
<div id="general-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회는 어떤 역할을 하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 학생회는 우리 과의 학생들을 대표하고 학과 내에서 학생들을 위한 다양한 활동과 행정을 담당합니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회에 연락하려면 어떻게 해야하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 저희 공식 홈페이지 오른쪽 아래 존재하는 회장&부회장의 번호나 <br>기타 문의에 존재하는 이메일로 연락하시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회에 일원이 되려면 어떻게 해야하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 매년마다 면접을 보고 있으니, 일정에 맞추어 신청하시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회는 세부적으로 어떻게 구성되나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 컴퓨터정보공학부 학생회 홈페이지에 구성도가 존재하니, 참고하시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회의 대장은 누군가요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 2025년 비상대책위원회장은 최우진 학우입니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 컴퓨터정보공학부의 과방은 어디에 존재하고 어떻게 사용하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 새빛관 4층 406호가 컴퓨터정보공학부의 과방입니다!<br>
과방에 가셔서 마음껏 사용하시고 깔끔하게 뒷정리만 해주시면 됩니다!
</p>
</div>
</div>
</div>
<div id="activity" class="faq-section">
<h2>행사 및 활동 FAQ</h2>
<input type="text" id="activity-search" onkeyup="searchFAQ('activity')" placeholder="질문 및 답변 검색..." />
<div id="activity-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회에서 주관하는 주요 행사는 무엇인가요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 주로 시험기간마다 간식행사를 진행합니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 특정 행사에 참여하려면 어떻게 신청하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 학번마다 존재하는 단톡방에 회장님이 공지하실텐데, 해당 공지를 참고하시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 행사에 참여 비용이 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 참여 비용은 있지만, 비싸지 않으며 학생회비를 납부하시면 더욱 줄어듭니다.
</p>
</div>
</div>
</div>
<div id="club" class="faq-section">
<h2>동아리 및 소모임 관련 FAQ</h2>
<input type="text" id="club-search" onkeyup="searchFAQ('club')" placeholder="질문 및 답변 검색..." />
<div id="club-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 동아리나 소모임에 가입하려면 어떻게 해야 하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 각 동아리는 매 학기나 매 년 부원을 뽑고 있으므로 확인하셔서 가입하시면 됩니다!<br>
소모임은 해당 소모임을 담당하는 학우분께 문의하시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 각 소모임의 정보를 어디서 확인할 수 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 컴퓨터정보공학부 학생회 홈페이지에 존재하는 소모임 페이지에서 확인하실 수 있습니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 새로운 동아리나 소모임을 만들 수 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 네, 소모임의 경우 20명 이상의 서명을 받아서 회장이나 부회장에게 연락해주세요!
</p>
</div>
</div>
</div>
<div id="study" class="faq-section">
<h2>학업 및 학사 관련 FAQ</h2>
<input type="text" id="study-search" onkeyup="searchFAQ('study')" placeholder="질문 및 답변 검색..." />
<div id="study-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 학생회에서 학업 자료나 스터디 그룹을 지원하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 네, 리코더라는 소모임에 가입하시면 자료와 스더티 그룹을 지원받으실 수 있습니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학업 관련 고충 상담은 어디서 받을 수 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> Klas에 나와있는 지도 교수님이나 회장, 부회장에게 연락하시면 상담을 해주실겁니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학과의 교수님들은 어떤 분들이 계신가요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> <a href = "https://www.kw.ac.kr/ko/univ/ai01_2.jsp"> 교수진 소개 페이지</a>에서 확인하실 수 있습니다.
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 공학교육인증제도가 궁금해요.
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> <a href = "https://www.kw.ac.kr/ko/life/notice.jsp?BoardMode=view&DUID=32043"> 공학교육인증제도 소개 페이지 </a>에서 확인하실 수 있습니다.
</p>
</div>
</div>
</div>
<div id="welfare" class="faq-section">
<h2>복지 및 지원 관련 FAQ</h2>
<input type="text" id="welfare-search" onkeyup="searchFAQ('welfare')" placeholder="질문 및 답변 검색..." />
<div id="welfare-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 학교 시설 이용에 대한 질문은 어디에 할 수 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 회장, 부회장에게 연락하셔서 질문을 전달해주시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 교수님들의 연구실을 찾아가려면 어떻게 해야 하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 연구실은 새빛관에 위치하고 있으며, 미리 메일로 연락을 드리는 것을 추천드립니다.
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학교에서 다치거나 아프면 어떻게 해야 하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 복지관 2층에 보건실이 있습니다. 가셔서 치료나 약을 받으시면 됩니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 학과에서 장학금은 어떻게 지원하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> <a href="https://www.kw.ac.kr/ko/life/notice.jsp?srCategoryId=4"> 등록/장학 페이지</a> 에서 확인하실 수 있습니다!
</p>
</div>
</div>
</div>
<div id="others" class="faq-section">
<h2>기타 FAQ</h2>
<input type="text" id="others-search" onkeyup="searchFAQ('others')" placeholder="질문 및 답변 검색..." />
<div id="others-list">
<div class="faq-item">
<p>
<strong>Q:</strong> 저희 과에서 가장 잘생긴 교수님은 누군가요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 무조건 신동화 교수님이십니다.
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 과 사람들하고 친해지고 싶은데 어떻게 해야 하나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> <u>학생회에 들어오시거나</u> 과에서 열리는 행사를 열심히 참여해 보세요!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> MT같은 행사가 많이 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 1년에 한 번씩 MT 행사가 존재하고, 학생회끼리 하는 LT도 존재합니다!
</p>
</div>
<div class="faq-item">
<p>
<strong>Q:</strong> 저희 과 군기 있나요?
<button class="toggle-btn">+</button>
</p>
<p class="faq-answer">
<strong>A:</strong> 오히려 선배가 후배에게 깍듯합니다!
</p>
</div>
</div>
</div>
</div>
<!-- 사이드바 -->
<div class="side-bar">
<div class="links">
<ul>
<li><a href="login.html" style="color:white; text-decoration:none;">로그아웃</a></li>
<li><a href="index.html" style="color:white; text-decoration:none;">홈페이지</a></li>
<li><a href="resources.html" style="color:white; text-decoration:none;">자료집</a></li>
<li><a href="events.html" style="color:white; text-decoration:none;">공지사항</a></li>
<li><a href="club.html" style="color:white; text-decoration:none;">소모임 소개</a></li>
<li><a href="introduce_2.html" style="color:white; text-decoration:none;">학과 소개</a></li>
<li><a href="FAQ_Board.html" style="color:white; text-decoration:none;">FAQ</a></li>
<li><a href="Plan_manager.html" style="color:white; text-decoration:none;">Plan Manager</a></li>
</ul>
</div>
<div class="footer-links">
<a href="https://www.kw.ac.kr" target="_blank">광운대학교 홈페이지</a>
<a href="https://sw.kw.ac.kr" target="_blank">인융대 홈페이지</a>
</div>
</div>
<script>
function showCategory() {
// 모든 FAQ 섹션을 숨김
let sections = document.querySelectorAll('.faq-section');
sections.forEach(section => section.style.display = 'none');
// 선택된 카테고리의 FAQ 섹션을 표시
let selectedCategory = document.getElementById('category-select').value;
let selectedSection = document.getElementById(selectedCategory);
if (selectedSection) {
selectedSection.style.display = 'block';
}
}
// 페이지 로드 시 기본적으로 '일반' 카테고리 보이기
window.onload = function () {
showCategory();
};
function searchFAQ(category) {
let searchInput = document.getElementById(category + '-search').value.toLowerCase(); // 검색 입력값
let faqList = document.getElementById(category + '-list'); // 해당 분야의 FAQ 리스트
let faqItems = faqList.getElementsByClassName('faq-item'); // FAQ 항목들
// 각 FAQ 항목을 검색어와 비교
for (let i = 0; i < faqItems.length; i++) {
let itemText = faqItems[i].textContent || faqItems[i].innerText; // 질문과 답변 텍스트
if (itemText.toLowerCase().indexOf(searchInput) > -1) {
faqItems[i].style.display = ''; // 검색어가 포함된 항목은 보이게
} else {
faqItems[i].style.display = 'none'; // 검색어가 포함되지 않은 항목은 숨김
}
}
}
// 질문 옆 버튼 클릭 시 답변 토글
document.addEventListener('DOMContentLoaded', () => {
const toggleButtons = document.querySelectorAll('.toggle-btn');
toggleButtons.forEach(button => {
button.addEventListener('click', () => {
const faqItem = button.closest('.faq-item'); // 버튼이 포함된 FAQ 항목
const answer = faqItem.querySelector('.faq-answer'); // 해당 항목의 답변
if (answer.style.display === 'block') {
// 답변 숨기기
answer.style.display = 'none';
button.textContent = '+'; // 버튼 텍스트 변경
} else {
// 답변 보이기
answer.style.display = 'block';
button.textContent = '-'; // 버튼 텍스트 변경
}
});
});
});
</script>
<!-- 푸터 -->
<footer>
<div class="footer-left"></div>
<div class="footer-right">
<!-- 첫 번째 아이콘: 카카오톡 -->
<div class="icon-wrapper">
<a href="https://open.kakao.com/o/gDFOk91g" target="_blank">
<img src="image/메세지.png" alt="카카오톡 아이콘" class="footer-icon" style="width: 60px; height: 50px; transition: transform 0.2s ease;">
</a>
<div class="tooltip">카카오톡 채팅방으로 이동합니다.</div>
</div>
<!-- 두 번째 아이콘: 인스타그램 -->
<div class="icon-wrapper">
<a href="https://www.instagram.com/kw_cie/" target="_blank">
<img src="image/인스타그램.png" alt="인스타그램 아이콘" class="footer-icon" style="width: 60px; height: 50px; transition: transform 0.2s ease;">
</a>
<div class="tooltip">인스타그램 페이지로 이동합니다.</div>
</div>
<!-- 텍스트 영역 -->
<div class="text">
<p>김재용(회장): 010-5651-4415</p>
<p>최우진(부회장): 010-4907-7802</p>
</div>
</div>
</footer>
</body>
</html>