NO JAVASCRIPT NEEDED
This commit is contained in:
parent
91cd8f719a
commit
ec8cee4384
@ -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);
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user