NO JAVASCRIPT NEEDED

This commit is contained in:
William 2023-02-06 23:44:08 +01:00
parent 91cd8f719a
commit ec8cee4384
2 changed files with 9 additions and 1 deletions

View File

@ -46,6 +46,7 @@
</div>
<script>
//Make the DIV element draggagle:
dragElement(document.getElementById("mydiv"));
@ -95,7 +96,7 @@ function dragElement(elmnt) {
var tag = document.createElement('script');
tag.src = "http://www.youtube.com/iframe_api";
tag.src = "https://www.youtube.com/iframe_api";
var fScriptTag = document.getElementsByTagName('script')[0];
fScriptTag.parentNode.insertBefore(tag, fScriptTag);

View File

@ -12,6 +12,7 @@
/* The Modal (background) */
.modal {
display: none;
position: fixed; /* Stay in place */
z-index: 10; /* Sit on top */
padding-top: 100px; /* Location of the box */
@ -82,6 +83,12 @@ vertical-align: middle;
</div>
<script>
document.body.onload = function() {
document.getElementById('myModal').style.diplay = '';
}
</script>
<style>
html, body {