|
|
(4 intermediate revisions by the same user not shown) |
Line 2: |
Line 2: |
| <html> | | <html> |
| <style> | | <style> |
− | #end-notice{ | + | article > section > p#end-notice{ |
| color: #FF3333; | | color: #FF3333; |
− | display: none;
| |
| } | | } |
| </style> | | </style> |
− | <script>
| |
− | var theEnd = new Date(2016, 10, 2);
| |
− | if(new Date() > theEnd){
| |
− | $('#end-notice').show();
| |
− | }
| |
− | </script>
| |
| <article> | | <article> |
| <section> | | <section> |
| <h2>Riddle</h2> | | <h2>Riddle</h2> |
| | | |
− | <p id="end-notice">The riddle is now over, for more information about the CryptoGErM project, visit our <a href="/Team:Groningen">home page</a>, or take the <a href="/Team:Groningen/Tour">tour</a>!</p> | + | <p id="end-notice"></p> |
| | | |
| <p>Hi iGEMer! Welcome to our puzzle, here we’d like to invite you | | <p>Hi iGEMer! Welcome to our puzzle, here we’d like to invite you |
Line 38: |
Line 31: |
| </section> | | </section> |
| </article> | | </article> |
| + | <script> |
| + | var theEnd = new Date(2016, 10, 2); |
| + | if(new Date() > theEnd){ |
| + | $('#end-notice').html('The riddle is now over. It turned out our message was too well protected and no other team managed to solve our puzzle! For more information about the CryptoGErM project, visit our <a href="/Team:Groningen">home page</a>, or take the <a href="/Team:Groningen/Tour">tour</a>.'); |
| + | } |
| + | </script> |
| </html> | | </html> |
| {{Groningen/footer}} | | {{Groningen/footer}} |