생강 효능, 먹으면 안 되는 사람 – 겨울철 건강을 위한 선택
페이지 정보
작성자 HELLO 작성일25-04-19 19:47 조회4회 댓글0건관련링크
본문
목차
.book-toc 비아그라 먹으면 안되는 사람 li { margin-bottom: 6pxline-height: 1.4}
.book-toc li a { color: #444 !importanttext-decoration: none !important}
.book-toc li a:visited { color: #444 !importanttext-decoration: none !important}
.book-toc li a:hover { color: #007bff !importanttext-decoration: underline !important}
.btn-rounded { transition: all 0.3s ease}
.btn-rounded:hover { transform: scale(1.1)}
table tr:first-child th { background-color: #2698ff}
document.addEventListener("DOMContentLoaded", function() {
const tocList = document.getElementById("tocList");
const headers = document.querySelectorAll(".entry-content h2, .entry-content h3");
headers.forEach(function(header, index) {
if (!header.id) { header.id = "toc-heading-" + (index + 1)}
const li = document.createElement("li");
const aTag = document.createElement("a");
aTag.setAttribute("href", "#" + header.id);
aTag.textContent = header.textContent.trim();
if (header.tagName.toLowerCase() === "h3") { li.style.marginLeft = "20px"}
li.appendChild(aTag);
tocList.appendChild(li);
});
const firstH2 = document.querySelector(".entry-content 비아그라 먹으면 안되는 사람 h2");
const myToc = document.getElementById("myToc");
if (firstH2 && myToc) { firstH2.parentNode.insertBefore(myToc, firstH2)}
});
댓글목록
등록된 댓글이 없습니다.