<head>
<style>
.page_cover, .width.padding:first-of-type {
display: none !important;
}
</style>
</head>
hideNotionTitle: true
showShareButton: false
topNavigator: null
title: "λ©νλ ν°"
description: "무λμ§μ§ μκΈ° μν΄μ νλ€λ¦¬λ λ²μ λ°°μ°λ€"
ogImage: "<https://i.postimg.cc/85WfSG9x/image.png>"
theme: "custom"
backgroundColor: "#ffffff"
fontColor: "#000000"
imageBorderRadius: 0
calloutBorderRadius: 0
galleryBorderRadius: 0
<script src="<https://cdn.commoninja.com/sdk/latest/commonninja.js>" defer></script>
<div class="commonninja_component pid-c9d0fe7c-a848-4185-921b-af31ee6ff10f"></div>
π₯Β λκΈ°λΆμ¬ μ½ν μΈ β λκΈ°λΆμ¬λ λ€λ₯Έ κ³³μ μμ보μΈμ
π©Β 맀주 3νΈ, μμκΈ μ€μ 8μ 15λΆμ λ°νλ©λλ€
π¦Β μ€λμ λ©νλ ν°λ 무λ£λ‘ μ΄μλ©λλ€
π¨Β λ°νλ λ ν°λ μΉ΄ν‘μΌλ‘ νΈνκ² λ³΄μΈμ
600λͺ μ΄μμ νμλ€κ³Ό ν¨κ»νκ³ μμ΅λλ€
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Scroll CTA Button</title>
<style>
body {
margin: 0;
}
#ctaButton {
position: fixed;
bottom: 100px;
left: 50%;
transform: translateX(-50%);
transition: opacity 0.3s ease-in-out;
opacity: 0;
z-index: 999;
}
#ctaButton button {
padding: 10px 20px;
background-color: #fff;
color: #000;
font-weight: bold;
font-size: 18px;
border: 2px solid #000;
border-radius: 0px;
cursor: pointer;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
transition: background-color 0.3s ease-in-out;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
#ctaButton button:hover {
background-color: #eee;
}
</style>
</head>
<body>
<!-- Your website content goes here -->
<!-- CTA button -->
<div id="ctaButton">
<button onclick="openChat()">λ©νλ ν° ν©λ₯νκΈ°</button>
</div>
<script>
const ctaButton = document.getElementById('ctaButton');
function checkScroll() {
const scrollPosition = window.scrollY || document.documentElement.scrollTop;
const scrollThreshold = 2750; // μμ λ λΆλΆ: ν½μ
κ°μΌλ‘ λ³κ²½
if (scrollPosition > scrollThreshold) {
ctaButton.style.opacity = '1';
} else {
ctaButton.style.opacity = '0';
}
}
function openChat() {
const currentHour = new Date().getHours();
const currentMinute = new Date().getMinutes();
const linkToOpen = (currentHour >= 8 && currentHour <= 20 && currentMinute <= 55) ? '<http://pf.kakao.com/_AsxlBG>' : '<http://pf.kakao.com/_AsxlBG>';
window.open(linkToOpen, '_blank');
}
window.addEventListener('scroll', checkScroll);
</script>
</body>
</html>