Browse Source

added fade transition preshow website

master
dennisdebel 4 years ago
parent
commit
e8846f2c91
  1. 6
      website/preshow/index.html
  2. 4
      website/preshow/main.css

6
website/preshow/index.html

@ -39,7 +39,7 @@
Rosa Menkman<br> Rosa Menkman<br>
Sarah Grant<br> Sarah Grant<br>
Sofya Aleynikova<br><br> Sofya Aleynikova<br><br>
<a href="#" onclick="document.getElementById('infotext').style.visibility='visible';">more info</a> <a href="#" onclick="document.getElementById('infotext').style.visibility='visible';document.getElementById('infotext').style.opacity='1';">more info</a>
</p> </p>
</div> </div>
<div id="backgroundDiv"> <div id="backgroundDiv">
@ -91,8 +91,8 @@
</div> </div>
<div id="infotext"> <div id="infotext">
<div id="infobuttons"> <div id="infobuttons">
<div id="closeButton" onclick="document.getElementById('infotext').style.visibility='hidden';">X</div> <div id="closeButton" onclick="document.getElementById('infotext').style.visibility='hidden';document.getElementById('infotext').style.opacity='0';">X</div>
<div id="enButton" onclick="document.getElementById('infotext_en').style.visibility='visible';">EN</div> <div id="enButton" onclick="document.getElementById('infotext_en').style.visibility='visible';document.getElementById('infotext_en').style.opacity='1';">EN</div>
</div> </div>
<p> <p>
OPENCOIL – The roaming Speedshow <br><br> OPENCOIL – The roaming Speedshow <br><br>

4
website/preshow/main.css

@ -94,7 +94,8 @@ a {
} }
#infotext, #infotext_en { #infotext, #infotext_en {
visibility: hidden; visibility: visible;
opacity:0;
overflow-x: hidden !important; overflow-x: hidden !important;
overflow-y: scroll !important; overflow-y: scroll !important;
position: absolute; position: absolute;
@ -107,6 +108,7 @@ a {
background-color: #d152b8; background-color: #d152b8;
color: white; color: white;
margin: 12% 20% 20% 10%; margin: 12% 20% 20% 10%;
transition: opacity 1s;
} }

Loading…
Cancel
Save