Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:timer-display [12.01.2016 09:37] – Added countdown script adminen:create:timer-display [01.04.2017 17:27] – [Implementation] admin
Line 22: Line 22:
 <script type="text/javascript"> <script type="text/javascript">
 <!-- <!--
- +// Hide the button 
-// Nach dem Laden der Seite das Script starten +SoSciTools.submitButtonsHide(); 
-SoSciTools.attachEvent(window, "load", +// After a timeout of 60 sec = 60000 ms, display the button 
-  function() { +window.setTimeout( 
-    // Die Knöpfe ausblenden +  SoSciTools.submitButtonsDisplay, 60000 
-    SoSciTools.submitButtonsHide(); +)
-    // Den Timer starten +
-    window.setTimeout(SoSciTools.submitButtonsDisplay, 60000); // Nach 1 Min = 60.000 ms +
-  } +
-)+
 // --> // -->
 </script> </script>
Line 67: Line 62:
 The HTML/JavaScript code that takes care of hiding would look like this: The HTML/JavaScript code that takes care of hiding would look like this:
  
-<code html>+<code javascript>
 <script type="text/javascript"> <script type="text/javascript">
 <!-- <!--
en/create/timer-display.txt · Last modified: 12.08.2022 19:26 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki