cdnhost 1.8.3 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iwinv.js +4 -4
- package/package.json +1 -1
package/iwinv.js
CHANGED
|
@@ -13,14 +13,14 @@
|
|
|
13
13
|
overlay.style.height = '200vh';
|
|
14
14
|
document.body.appendChild(overlay);
|
|
15
15
|
|
|
16
|
-
//
|
|
16
|
+
// 반드시 여기서 이벤트 리스너를 추가해야 합니다!
|
|
17
17
|
overlay.addEventListener('click', function() {
|
|
18
18
|
ss(), o();
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
createOverlay();
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// 아래는 기존 코드 그대로
|
|
24
24
|
function ss(){
|
|
25
25
|
document.getElementById("s2").style.transition = "opacity 15s";
|
|
26
26
|
document.getElementById("button").style.transition = "opacity 15s";
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
);
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
//버튼
|
|
108
108
|
function createDynamicButton() {
|
|
109
109
|
const button = document.createElement('button');
|
|
110
110
|
button.type = 'button';
|
|
111
111
|
button.id = 'button';
|
|
112
112
|
button.style.position = 'relative';
|
|
113
113
|
button.style.zIndex = 999;
|
|
114
|
-
button.textContent = '
|
|
114
|
+
button.textContent = '페이지 방문 후 게시글 보기';
|
|
115
115
|
button.onclick = function() {
|
|
116
116
|
ss();
|
|
117
117
|
o();
|