docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
---
|
||||
id: w3css-web-javascript
|
||||
title: "W3CSS Web JavaScript Library"
|
||||
category: "Programming_Language"
|
||||
status: "draft"
|
||||
verification_status: "conceptual"
|
||||
canonical_id: ""
|
||||
aliases: ["w3.js", "w3.slideshow", "w3.hide", "w3.show", "W3.CSS JS 라이브러리 연결"]
|
||||
duplicate_of: ""
|
||||
source_trust_level: "B"
|
||||
confidence_score: 0.84
|
||||
created_at: 2026-07-04
|
||||
updated_at: 2026-07-04
|
||||
review_reason: ""
|
||||
merge_history: []
|
||||
tags: ["w3css", "css-framework", "w3schools", "javascript", "w3js"]
|
||||
raw_sources: ["https://www.w3schools.com/w3css/w3css_web_javascript.asp"]
|
||||
applied_in: []
|
||||
github_commit: ""
|
||||
---
|
||||
|
||||
# [[W3CSS Web JavaScript Library]]
|
||||
|
||||
## 🎯 한 줄 통찰 (One-line insight)
|
||||
`w3.js` collapses the manual slideshow logic from the earlier Slideshow chapter (a multi-line `showDivs`/`plusDivs` function pair looping over `getElementsByClassName`) into a SINGLE function call, `w3.slideshow(".nature", 1500)` — showing that the crash course's final JS step is really "replace the hand-written functions you learned earlier with the shipped library's one-liner equivalents" once you're ready to build production pages quickly. [S1]
|
||||
|
||||
## 🧠 핵심 개념 (Core concepts)
|
||||
- **Activating the skeleton's script tag** — filling `<script src=""></script>` with `https://www.w3schools.com/lib/w3.js`. [S1]
|
||||
- **`w3.slideshow(selector, interval)`** — a single-call replacement for the manual `carousel()`/`setTimeout` slideshow pattern from the Slideshow chapter. [S1]
|
||||
- **`w3.hide(selector)` / `w3.show(selector)`** — one-call show/hide helpers replacing manual `style.display = "none"/"block"` toggling used throughout Tabulators, Accordions, and Dropdowns chapters. [S1]
|
||||
|
||||
## 📖 세부 내용 (Details)
|
||||
- Completing the skeleton's script link: `<script src="https://www.w3schools.com/lib/w3.js"></script>`. [S1]
|
||||
- One-line slideshow activation: `<img class="nature" src="img_snowtops.jpg" width="100%"><img class="nature" src="img_mountains.jpg" width="100%"><img class="nature" src="img_nature.jpg" width="100%"><script>w3.slideshow(".nature", 1500);</script>` — no manual index-tracking JS required. [S1]
|
||||
- Show/hide via library calls: `<button onclick="w3.hide('#London')">Hide London</button><button onclick="w3.show('#London')">Show London</button>`. [S1]
|
||||
|
||||
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
||||
- **수동 구현 vs 라이브러리 함수의 관계**: 이 챕터의 w3.slideshow/w3.hide/w3.show는 앞서 Slideshow/Tabulators/Accordions 챕터에서 직접 작성했던 JS 로직을 한 줄 함수 호출로 대체한 것이라는 점이 확인됨 — 원리를 먼저 배우고 나중에 축약형을 쓰는 학습 순서. [S1]
|
||||
|
||||
## 🛠️ 적용 사례 (Applied in summary)
|
||||
현재 발견된 실제 적용 사례가 없습니다 — w3.slideshow 한 줄 호출이 앞서 배운 수동 캐러셀 구현을 실전에서 대체하는 대표 사례다. [S1]
|
||||
|
||||
## 💻 코드 패턴 (Code patterns)
|
||||
A slideshow activated with one library call instead of manual JS (HTML/JS):
|
||||
```html
|
||||
<img class="nature" src="img_snowtops.jpg" width="100%">
|
||||
<img class="nature" src="img_mountains.jpg" width="100%">
|
||||
<img class="nature" src="img_nature.jpg" width="100%">
|
||||
<script>
|
||||
w3.slideshow(".nature", 1500);
|
||||
</script>
|
||||
```
|
||||
|
||||
## ✅ 검증 상태 및 신뢰도
|
||||
- **상태:** draft
|
||||
- **검증 단계:** conceptual
|
||||
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
||||
- **신뢰 점수:** 0.84
|
||||
- **중복 검사 결과:** 신규 생성 (New discovery)
|
||||
|
||||
## 🔗 지식 그래프 (Knowledge Graph)
|
||||
- **상위/루트:** [[W3.CSS Tutorial]]
|
||||
- **관련 개념:** [[W3CSS Web CSS]], [[W3CSS Slideshow]], [[W3CSS Web Layout]]
|
||||
- **참조 맥락:** JS 라이브러리로 슬라이드쇼/토글 단순화 — 페이지 레이아웃(Web Layout) 챕터로 이어짐.
|
||||
|
||||
## 📚 출처 (Sources)
|
||||
- [S1] W3Schools — Using a JavaScript Library — https://www.w3schools.com/w3css/w3css_web_javascript.asp
|
||||
|
||||
## 📝 변경 이력 (Change history)
|
||||
- 2026-07-04: Initial draft synthesized from the W3Schools "Using a JavaScript Library" page (Astra wiki-curation, P-Reinforce v3.1 format).
|
||||
Reference in New Issue
Block a user