Update pages.html
Browse files- pages.html +0 -127
pages.html
CHANGED
@@ -1103,134 +1103,7 @@ editor.Blocks.add('menu-settings-block-block', {
|
|
1103 |
});
|
1104 |
</script>
|
1105 |
|
1106 |
-
<script>
|
1107 |
-
var currentMaxZIndex = 20;
|
1108 |
-
|
1109 |
-
// Get the modal_1
|
1110 |
-
var modal_1 = document.getElementById("myModal_1");
|
1111 |
-
|
1112 |
-
// Get the button that opens the modal
|
1113 |
-
var btn_1 = document.getElementById("myBtn");
|
1114 |
-
|
1115 |
-
// Get the <span> element that closes the modal
|
1116 |
-
var span_1 = document.getElementsByClassName("close_1")[0];
|
1117 |
-
|
1118 |
-
// Function to open the modal
|
1119 |
-
function openModal_1(modal) {
|
1120 |
-
currentMaxZIndex += 1;
|
1121 |
-
modal.style.zIndex = currentMaxZIndex;
|
1122 |
-
modal.style.display = "block";
|
1123 |
-
}
|
1124 |
-
|
1125 |
-
// Function to close the modal
|
1126 |
-
function closeModal_1(modal) {
|
1127 |
-
modal.style.display = "none";
|
1128 |
-
currentMaxZIndex = 20; // Reset z-index to initial value
|
1129 |
-
}
|
1130 |
-
|
1131 |
-
// When the user clicks the button, open the modal
|
1132 |
-
btn_1.onclick = function() {
|
1133 |
-
openModal_1(modal_1);
|
1134 |
-
}
|
1135 |
-
|
1136 |
-
// When the user clicks on <span> (x), close the modal
|
1137 |
-
span_1.onclick = function() {
|
1138 |
-
closeModal_1(modal_1);
|
1139 |
-
}
|
1140 |
-
|
1141 |
-
// When the user clicks anywhere outside of the modal, close it
|
1142 |
-
window.onclick = function(event) {
|
1143 |
-
if (event.target == modal_1) {
|
1144 |
-
closeModal_1(modal_1);
|
1145 |
-
}
|
1146 |
-
}
|
1147 |
-
|
1148 |
-
</script>
|
1149 |
-
|
1150 |
-
|
1151 |
-
<script>
|
1152 |
-
// Get the modal_2
|
1153 |
-
var modal_2 = document.getElementById("myModal_2");
|
1154 |
-
|
1155 |
-
// Get the button that opens the modal
|
1156 |
-
var btn_2 = document.getElementById("myBtn_2");
|
1157 |
-
|
1158 |
-
// Get the <span> element that closes the modal
|
1159 |
-
var span_2 = document.getElementsByClassName("close_2")[0];
|
1160 |
-
|
1161 |
-
// Function to open the modal
|
1162 |
-
function openModal_2(modal) {
|
1163 |
-
currentMaxZIndex += 1;
|
1164 |
-
modal.style.zIndex = currentMaxZIndex;
|
1165 |
-
modal.style.display = "block";
|
1166 |
-
}
|
1167 |
-
|
1168 |
-
// Function to close the modal
|
1169 |
-
function closeModal_2(modal) {
|
1170 |
-
modal.style.display = "none";
|
1171 |
-
currentMaxZIndex = 20; // Reset z-index to initial value
|
1172 |
-
}
|
1173 |
|
1174 |
-
// When the user clicks the button, open the modal
|
1175 |
-
btn_2.onclick = function() {
|
1176 |
-
openModal_2(modal_2);
|
1177 |
-
}
|
1178 |
-
|
1179 |
-
// When the user clicks on <span> (x), close the modal
|
1180 |
-
span_2.onclick = function() {
|
1181 |
-
closeModal_2(modal_2);
|
1182 |
-
}
|
1183 |
-
|
1184 |
-
// When the user clicks anywhere outside of the modal, close it
|
1185 |
-
window.onclick = function(event) {
|
1186 |
-
if (event.target == modal_2) {
|
1187 |
-
closeModal_2(modal_2);
|
1188 |
-
}
|
1189 |
-
}
|
1190 |
-
</script>
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
<script>
|
1195 |
-
// Get the modal_3
|
1196 |
-
var modal_3 = document.getElementById("myModal_3");
|
1197 |
-
|
1198 |
-
// Get the button that opens the modal
|
1199 |
-
var btn_3 = document.getElementById("myBtn_3");
|
1200 |
-
|
1201 |
-
// Get the <span> element that closes the modal
|
1202 |
-
var span_3 = document.getElementsByClassName("close_3")[0];
|
1203 |
-
|
1204 |
-
// Function to open the modal
|
1205 |
-
function openModal_3(modal) {
|
1206 |
-
currentMaxZIndex += 1;
|
1207 |
-
modal.style.zIndex = currentMaxZIndex;
|
1208 |
-
modal.style.display = "block";
|
1209 |
-
}
|
1210 |
-
|
1211 |
-
// Function to close the modal
|
1212 |
-
function closeModal_3(modal) {
|
1213 |
-
modal.style.display = "none";
|
1214 |
-
currentMaxZIndex = 20; // Reset z-index to initial value
|
1215 |
-
}
|
1216 |
-
|
1217 |
-
// When the user clicks the button, open the modal
|
1218 |
-
btn_3.onclick = function() {
|
1219 |
-
openModal_3(modal_3);
|
1220 |
-
}
|
1221 |
-
|
1222 |
-
// When the user clicks on <span> (x), close the modal
|
1223 |
-
span_3.onclick = function() {
|
1224 |
-
closeModal_3(modal_3);
|
1225 |
-
}
|
1226 |
-
|
1227 |
-
// When the user clicks anywhere outside of the modal, close it
|
1228 |
-
window.onclick = function(event) {
|
1229 |
-
if (event.target == modal_3) {
|
1230 |
-
closeModal_3(modal_3);
|
1231 |
-
}
|
1232 |
-
}
|
1233 |
-
</script>
|
1234 |
|
1235 |
|
1236 |
|
|
|
1103 |
});
|
1104 |
</script>
|
1105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1107 |
|
1108 |
|
1109 |
|