The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I'm not really a js expert, but this seems to work:
Code:
$(document).ready(function() { var countdown = 30; $('#countdown').html(countdown); setInterval(function() { countdown--; $('#countdown').html(countdown); if (countdown <= 0) { $('.cameraimage').attr('src', $('.cameraimage').attr('src') + '?' + new Date().getTime()); countdown = 30; $('#countdown').html(countdown); } }, 1000); }); Then you need to insert something like: Code:
<div>Image updates in: <span id="countdown"></span></div> |
Благодарность от: | ||
bzcomputers |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|