-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplay.html
More file actions
141 lines (122 loc) · 4.68 KB
/
play.html
File metadata and controls
141 lines (122 loc) · 4.68 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<style>
.circle-popup {
position: fixed;
bottom: 70px;
left: 30px;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #CEF6F5;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 9999;
}
.chat-icon {
position: fixed;
bottom: 70px;
left: 30px;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #CEF6F5;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
z-index: 9999;
}
.popup-content {
position: fixed;
top: 10px;
left: 10%;
right: 10%;
width: 80%;
height: 50%;
background-color: rgba(0, 0, 0, 0.7);
display: none;
z-index: 99999;
border-radius: 20%
}
.close-btn {
position: absolute;
top: 10px;
left: 50px
right: 10px;
width: 20px;
height: 20px;
background-color: #e74c3c;
cursor: pointer;
}
iframe {
width: 100%;
height: 100%;
border-radius: 10%;
}
</style> <meta charset="utf-8">
<title>Games on Shade Studio Pro</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Iconscout Link For Icons -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<!-- Theme included stylesheets --> <link href="//cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet"> <link href="//cdn.quilljs.com/1.3.6/quill.bubble.css" rel="stylesheet"> <!-- Core build with no theme, formatting, non-essential modules --> <link href="//cdn.quilljs.com/1.3.6/quill.core.css" rel="stylesheet"> <script src="//cdn.quilljs.com/1.3.6/quill.core.js"></script>
</head>
<body>
<script src="script.js"></script>
<nav class="nav container">
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item">
<a href="index.html" class="nav__link active-link">
<i class='bx bx-home-alt nav__icon'></i>
<span class="nav__name">Home</span>
</a>
</li>
<li class="nav__item">
<a href="play.html" class="nav__link">
<i class='bx bx-joystick nav__icon'></i>
<span class="nav__name">Play</span>
</a>
</li>
<li class="nav__item">
<a href="watch.html" class="nav__link">
<i class='bx bx-film nav__icon'></i>
<span class="nav__name">Watch</span>
</a>
</li>
<li class="nav__item">
<a href="search.html" class="nav__link">
<i class='bx bx-search nav__icon'></i>
<span class="nav__name">Search</span>
</a>
</li>
</ul>
</div>
</nav>
<div data-name="onstipe" class="wbctA" style="width:100%;height:100%;overflow:hidden;"><script defer src="https://onstipe.com/web/js/webembed.js" type="text/javascript"></script><div class="wbctB" data-val="tvj78"></div></div> <div class="circle-popup">
<div class="chat-icon">🪄</div>
<div class="popup-content">
<iframe id="popup-iframe" src="smagic.html"></iframe>
</div>
</div>
<script>
// Get the necessary DOM elements
var circlePopup = document.querySelector('.circle-popup');
var popupContent = document.querySelector('.popup-content');
var closeBtn = document.querySelector('.close-btn');
// Function to toggle the popup
function togglePopup() {
popupContent.style.display = popupContent.style.display === 'none' ? 'block' : 'none';
}
// Add event listeners to the elements
circlePopup.addEventListener('click', togglePopup);
closeBtn.addEventListener('click', togglePopup);
</script>
<script>
</body>
</html>