Code: Select all
<input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" />
Code: Select all
<input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" style="display: none;" />
Code: Select all
Code: Select all
<!-- IF COUNTDOWN_INTERVAL -->
<!-- INCLUDE countdown.html -->
<!-- ENDIF -->
Code: Select all
<!-- IF COUNTDOWN_INTERVAL -->
<!-- INCLUDE countdown.html -->
<!-- ENDIF -->
Code: Select all
<input type="button" name="fake_agreed" id="fake_agreed" value="{L_AGREE}" class="button1" />
<script type="text/javascript">
// <![CDATA[
/*
* @author Juan Fernandez (http://www.exckor.com)
* @author Marc Alexander (http://www.m-a-styles.de)
*
* @package Wait At Registration
* @version $Id: countdown.html 1.0.0
* @copyright (c) 2009 Juan Fernandez, Marc Alexander
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
var countDownInterval = {COUNTDOWN_INTERVAL} + 1;
var divname = 'agreed'; // do not change this
var div_backup = document.getElementById('fake_' + divname).value;
function countDown()
{
div = document.getElementById(divname);
fake_div = document.getElementById('fake_' + divname);
countDownInterval--;
if (countDownInterval == 0) {
div.style.display = '';
fake_div.style.display = 'none';
div.value = div_backup;
} else {
fake_div.value = div_backup + ' [' + countDownInterval + ']';
setTimeout(countDown, 1000);
}
}
window.onload = countDown();
// ]]>
</script>
Code: Select all
<input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" />
Code: Select all
<input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" style="display: none;" />
Code: Select all
<br /><br />
Code: Select all
<!-- IF COUNTDOWN_INTERVAL -->
<!-- INCLUDE countdown.html -->
<!-- ENDIF -->
<br /><br />;
Code: Select all
<!-- IF COUNTDOWN_INTERVAL -->
<!-- INCLUDE countdown.html -->
<!-- ENDIF -->
Code: Select all
<input class="btnlite" type="button" id="fake_agreed" name="fake_agreed" value="{L_AGREE}" />
<script type="text/javascript">
// <![CDATA[
/*
* @author Juan Fernandez (http://www.exckor.com)
* @author Marc Alexander (http://www.m-a-styles.de)
*
* @package Wait At Registration
* @version $Id: countdown.html 1.0.0
* @copyright (c) 2009 Juan Fernandez, Marc Alexander
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
var countDownInterval = {COUNTDOWN_INTERVAL} + 1;
var divname = 'agreed'; // do not change this
var div_backup = document.getElementById('fake_' + divname).value;
function countDown()
{
div = document.getElementById(divname);
fake_div = document.getElementById('fake_' + divname);
countDownInterval--;
if (countDownInterval == 0) {
div.style.display = '';
fake_div.style.display = 'none';
div.value = div_backup;
} else {
fake_div.value = div_backup + ' [' + countDownInterval + ']';
setTimeout(countDown, 1000);
}
}
window.onload = countDown();
// ]]>
</script>