Code: Alles auswählen
<script language="javascript">function countDown(cdID){var jetztZeit=Date.parse(new Date()); a=parseInt((endZeit-jetztZeit)/1000); min=parseInt(a/60); sec=a%60; min=min<10?("0"+min):min; sec=sec<10?("0"+sec):sec; document.getElementById("countdown"+cdID).innerHTML=min+":"+sec; if(a>0)setTimeout("countDown("+cdID+")", 100);} </script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); document.write('<span id="countdown'+CountDownID+'" style='position:fixed;right:5px;bottom:5px;'></span>'); var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID);</script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); document.write('<span id="countdown'+CountDownID+'"></span>'); var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID);</script>
Code: Alles auswählen
<script language="javascript">function countDown(cdID, ez){var jetztZeit=Date.parse(new Date()); a=parseInt((ez-jetztZeit)/1000); min=parseInt(a/60); sec=a%60; min=min<10?("0"+min):min; sec=sec<10?("0"+sec):sec; document.getElementById("countdown"+cdID).innerHTML=min+":"+sec; if(a>0)setTimeout("countDown("+cdID+", "+ez+")", 100);} </script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); document.write('<span id="countdown'+CountDownID+'"></span>'); var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); document.write('<span id="countdown'+CountDownID+'"><\/span>'); var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Code: Alles auswählen
<script language="JavaScript" type="text/javascript">function countDown(cdID, ez){var jetztZeit=Date.parse(new Date()); a=parseInt((ez-jetztZeit)/1000); h=parseInt(a/3600); min=parseInt((a/60)-60*h); sec=a%60; h=h<10?("0"+h):h; min=min<10?("0"+min):min; sec=sec<10?("0"+sec):sec; document.getElementById("countdown"+cdID).innerHTML=h+":"+min+":"+sec; if(a>0){ setTimeout("countDown("+cdID+", "+ez+")", 100);}}</script>
Code: Alles auswählen
<div style="position:fixed; bottom:1px; left:1px; background-color:#D3D3D3">c1 %me%-><script language="javascript">var CountDownID=parseInt(Math.random()*1000); document.write('<span id="countdown'+CountDownID+'"><\/span>'); var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Code: Alles auswählen
<script language="JavaScript" type="text/javascript">function countDown(cdID, ez){var jetztZeit=Date.parse(new Date()); a=parseInt((ez-jetztZeit)/1000); h=parseInt(a/3600); min=parseInt((a/60)-60*h); sec=a%60; h=h<10?("0"+h):h; min=min<10?("0"+min):min; sec=sec<10?("0"+sec):sec; {parent.rightFrame.document.body.innerHTML=h+":"+min+":"+sec+ parent.rightFrame.document.body.innerHTML;}; if(a>0){ setTimeout("countDown("+cdID+", "+ez+")", 100);}}</script>
Code: Alles auswählen
<script language="JavaScript" type="text/javascript">function countDown(cdID, ez){var jetztZeit=Date.parse(new Date()); a=parseInt((ez-jetztZeit)/1000); h=parseInt(a/3600); min=parseInt((a/60)-60*h); sec=a%60; h=h<10?("0"+h):h; min=min<10?("0"+min):min; sec=sec<10?("0"+sec):sec; {parent.rightFrame.document.getElementById("countdown"+cdID).innerHTML=h+":"+min+":"+sec}; if(a>0){ setTimeout("countDown("+cdID+", "+ez+")", 100);}else{parent.rightFrame.document.getElementById("countdown"+cdID).style.display="none"}}</script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); parent.rightframe.document.body.innerHTML='<span id="countdown'+CountDownID+'"><\/span>'+parent.rightFrame.document.body.innerHTML; var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Code: Alles auswählen
function countDown(cdID, ez){
var jetztZeit=Date.parse(new Date());
a=parseInt((ez-jetztZeit)/1000);
h=parseInt(a/3600);
min=parseInt((a/60)-60*h);
sec=a%60;
h=h<10?("0"+h):h;
min=min<10?("0"+min):min;
sec=sec<10?("0"+sec):sec;
parent.rightFrame.document.getElementById("countdown"+cdID).innerHTML=h+":"+min+":"+sec;
if(a>0){
setTimeout("countDown("+cdID+", "+ez+")", 100);
}else{
parent.rightFrame.document.getElementById("countdown"+cdID).style.display="none";
alert("Countdown abgelaufen!");
}
}
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); parent.rightFrame.document.body.innerHTML='<div id="countdown'+CountDownID+'"><\/div>'+parent.rightFrame.document.body.innerHTML; var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); parent.rightFrame.document.body.innerHTML='<div id="countdown'+CountDownID+'"><\/div>'+parent.rightFrame.document.body.innerHTML; var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*60*1000);countDown(CountDownID, endZeit);</script>
@LinusLinus hat geschrieben:Chatbefehl:Code: Alles auswählen
<script language="javascript">var CountDownID=parseInt(Math.random()*1000); parent.rightFrame.document.body.innerHTML='<div id="countdown'+CountDownID+'"><\/div>'+parent.rightFrame.document.body.innerHTML; var endZeit = Date.parse(new Date)+(parseInt(strip_tags('%user%'))*1000);countDown(CountDownID, endZeit);</script>
Mitglieder in diesem Forum: Ahrefs [Bot] und 1 Gast