Quote:
Originally Posted by psychobike
Ok so I tried adding the code in for the Countdown Complete message shown in thread #126 and it would not display. Does my setup need something additional, or could it be something I'm not doing right?
|
Sorry, I forgot to change a bit of the code. It should be
Code:
<script type="text/javascript">
var jq=$.noConflict();
jq(document).ready(function() {
jq('#countdown').countDown({
targetDate: {
'day': 00,
'month': 00,
'year': 0000,
'hour': 00,
'min': 00,
'sec': 00
},
// onComplete function
onComplete: function() {
jq('#complete_info_message').slideDown();
}
});
});
</script>
Also, it looks like the message was 'spilling out' of the module block so I've moved the code around, the message will now appear above the countdown (
only for vB Advanced module)
Find:
Code:
<div id="countdown">
Above that add:
Code:
<div class="info_message" id="complete_info_message" style="display: none;">
Countdown complete
</div>
<img src="clear.gif" height="10" /><br />
I'm not familiar with vB Advanced but if you're still having problems let me know and I'll figure it out