Registrieren | Passwort vergessen |
Benutzername    Passwort    Eingeloggt bleiben    
Seitenaufbau in 0.80 Sekunden - 450 DB-Abfragen | Mitglieder: 2410 | Forum: 15754 | Downloads: 127 | Insgesamt runtergeladen: 41750 | Insgesamt: 17,511,353 eindeutige Besuche
Guten Abend [Gast]
Wenn Sie bereits Registriert sind loggen Sie sich einfach ein
©
Andreas_neu (04.04.2026 09:45): Lust auf PartnerRadio? Gemeinsam sind wir stärker. https://musikpower.eu Info´s beim Flocke JP_ONAIR (30.11.2025 20:07): Schönen 1. Advent allen User hexer (26.10.2025 17:39): hallo Charly3000 (07.06.2025 22:39): Charlys-Funradio wünsch frohe Pfingsten hexer (01.02.2025 17:43): hallo DerEinsame2 (04.01.2024 14:19): Hallo ihr lieben ich wünsche euch ein Frohes und es Gesundes neues jahr. Chat-Radio24 (02.01.2024 18:36): Ein Frohes neues Jahr wünsche ich allen JP_ONAIR (01.01.2024 16:33): Frohes neues ^^ DerEinsame2 (17.12.2023 18:24): liebe leute ich wünsche euche tolle feiertage, und das beste fürs neue jahr 2024 Radiotv (18.11.2023 19:39): Liebe Grüsse Von www.radiotvmg.de
Datum: Samstag, 02. Mai 2026 Diese Seite Geladen am: 20:35:27Aktuelle Zeit: Zeit
 Wer ist online
Gäste & Bots online: 6
Mitglieder online: 0
Neuestes Mitglied: Krelli

DeviceArminPunkte
Online Now
DeviceDeeoNePremium bis 02.05.2026 - 23:34 UhrPunkte
30Min
Device21MatzePunkte
Offline
DeviceMarioPremium bis 28.01.2027 - 01:52 Uhr
Offline
DeviceHarlekinPunkte
Offline
DevicepartybremenPunkte
Offline
DeviceRolly8-HLPunkte
Offline
DeviceJP_ONAIR
Offline
DeviceGiftzwerg
Offline
DevicePartyChrisiPunkte
Offline
Gast
gast
Gast
gast
Gast
gast
Gast
gast
Gast
gast
Gast
gast
Mehr anzeigen

     - SuperAdmin|         - Admin ©
     - Forum Mod |         - Mitglied


 Unwetterwarnung

 Server uptime
Serverchecks bei http://www.my-cronjob.de - Ihr kostenloser Cronjob- und Serverüberwachungsdienst mit Uptime-Statistik für Ihre Homepage

Suche
Durchsuchen Sie die gesamte Website:
Themen-Autor: 19sonic88
Thema ID: 1217
Thema Info
Es gibt 10 Beiträge zu diesem Thema, und es wurde angesehen 2374 mal.
Thema ansehen
Wer ist hier? 1 Gäste
 Thema drucken
Countdown ?!
19sonic88
Hey,

Ich habe versucht den Countdown als Pannel einzubauen.

Er zeigt ihn aber nicht an, der Code falsch ?

Download PHP Code  PHP
  1. <?php
  2. <!-- präsentiert von kostenlose-javascripts.de -->
  3. <script type='text/javascript'>
  4. <!--
  5. var now = new Date();
  6. var year = now.getYear();
  7. if (year < 1900) {
  8.     year += 1900;
  9. }
  10. var end = new Date("December 31, " + year + " 23:00:00 GMT");
  11.  
  12. document.write('<div style="text-align: center">');
  13. document.write('    <span id="c1" style="FONT: bold 30px arial; COLOR: green"></span><br />');
  14. document.write('    <span id="c2" style="font: bold 25px arial; color: blue">;</span><br />');
  15. document.write('    ...bis zum neuen Jahr ' + (year+1));
  16. document.write('</div>');
  17.  
  18. function toSt2(n) {
  19.   s = "";
  20.   if (n < 10) s += "0";
  21.   return (s + n).toString();
  22. }
  23. function toSt3(n) {
  24.   s = "";
  25.   if (n < 10) s += "00";
  26.   else if (n < 100) s += "0";
  27.   return (s + n).toString();
  28. }
  29. function countdown() {
  30.   d = new Date();
  31.   count = Math.floor(end.getTime() - d.getTime());
  32.   if(count > 0) {
  33.     miliseconds = toSt3(count%1000); count = Math.floor(count/1000);
  34.     seconds = toSt2(count%60); count = Math.floor(count/60);
  35.     minutes = toSt2(count%60); count = Math.floor(count/60);
  36.     hours = toSt2(count%24); count = Math.floor(count/24);
  37.     days = count;
  38.     document.getElementById('c1').innerHTML = days + ' TAGE';
  39.     document.getElementById('c2').innerHTML = hours + ':' + minutes + ':' + seconds + '.' + miliseconds + '';
  40.     setTimeout("countdown()", 50);
  41.   }
  42. }
  43. //-->
  44. </script>
  45. <br />
  46. <!-- BITTE BEACHTEN: Der folgende Link darf nicht entfernt oder geändert werden -->
  47. <div id="kostenlosejavascripts" align="center"><a href="http://www.kostenlose-javascripts.de/javascripts/zaehler/countdown-bis-silvester.html" title="Silvester" target="_blank">Silvester Countdown</a></div>
  48. <br />
  49. <script type="text/javascript">function addEvent368(obj,type,fn){if(obj.addEventListener){obj.addEventListener(type,fn,false)}else if(obj.attachEvent){obj&#91;"e"+type+fn&#93;=fn;obj&#91;type+fn&#93;=function(){obj&#91;"e"+type+fn&#93;(window.event)};obj.attachEvent("on"+type,obj&#91;type+fn&#93;)}};addEvent368(window,'load',countdown);</script>
  50. <!-- präsentiert von kostenlose-javascripts.de -->
  51.  
  52. ?>
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1
 
http://www.radio-zeven.eu
Rolly8-HL
Das scheint ein reiner Html Code zu sein versuche das mal


?>

Hier kommt jetzt der Html Code rein


<?php

Gruß Rolly8-HL
Was für Andere Wichtig ist muss für mich nicht genauso Wichtig sein!
Bin Dickkopf Unbelehrbar mache aus Protest nicht das was andere für Richtig halten!
Das gibt einem zu Denken oder?
Verwarnstatus: warningwarningwarningwarning
 
https://rolly8-hl.de
19sonic88
irgendwie ne funzt
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1
 
http://www.radio-zeven.eu
Anonymer Benutzer
Also so in dein Panel einfügen.

openside("Countdown");
?>
<!-- präsentiert von kostenlose-javascripts.de -->
<script type='text/javascript'>
<!--
var now = new Date();
var year = now.getYear();
if (year < 1900) {
    year += 1900;
}
var end = new Date("December 31, " + year + " 23:00:00 GMT");
 
document.write('<div style="text-align: center">');
document.write('    <span id="c1" style="FONT: bold 30px arial; COLOR: green"></span><br />');
document.write('    <span id="c2" style="font: bold 25px arial; color: blue">;</span><br />');
document.write('    ...bis zum neuen Jahr ' + (year+1));
document.write('</div>');
 
function toSt2(n) {
  s = "";
  if (n < 10) s += "0";
  return (s + n).toString();
}
function toSt3(n) {
  s = "";
  if (n < 10) s += "00";
  else if (n < 100) s += "0";
  return (s + n).toString();
}
function countdown() {
  d = new Date();
  count = Math.floor(end.getTime() - d.getTime());
  if(count > 0) {
    miliseconds = toSt3(count%1000); count = Math.floor(count/1000);
    seconds = toSt2(count%60); count = Math.floor(count/60);
    minutes = toSt2(count%60); count = Math.floor(count/60);
    hours = toSt2(count%24); count = Math.floor(count/24);
    days = count;
    document.getElementById('c1').innerHTML = days + ' TAGE';
    document.getElementById('c2').innerHTML = hours + ':' + minutes + ':' + seconds + '.' + miliseconds + '';
    setTimeout("countdown()", 50);
  }
}
//-->
</script>
<br />
<!-- BITTE BEACHTEN: Der folgende Link darf nicht entfernt oder geändert werden -->
<div id="" align="center"><a href="" title="Silvester" target="_blank"></a></div>
<br />
<script type="text/javascript">function addEvent368(obj,type,fn){if(obj.addEventListener){obj.addEventListener(type,fn,false)}else if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event)};obj.attachEvent("on"+type,obj[type+fn])}};addEvent368(window,'load',countdown);</script>
<!-- präsentiert von kostenlose-javascripts.de -->
<?php

closeside();


MFG:)
Beitrag GELÖST!
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
19sonic88
Also versuche den zeitraum auf den 10 Januar zu stellen 2014 geht ne nimmt der ne an kein plan -.-*
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
http://www.radio-zeven.eu
DeeoNe

Zitat

19sonic88 schrieb:

Also versuche den zeitraum auf den 10 Januar zu stellen 2014 geht ne nimmt der ne an kein plan -.-*


Genau kein Plan, dir kann man einfach nicht helfen 19sonic88.
Heulen und Jammer und meckern und und und bringt garnichts, wenn man einfach nicht das Postet was man versucht hat kann man auch kein weg finden einem zu helfen und was zu lernen.

Ich sage das schon zig mal, ich weiß nicht was ihr denkt was wir hier sind.

Wenn man eine "Professionelle" Antwort möchte, sollte man erst mal in der Lage sein RICHTIG das Forum, für die Hilfe zu nutzen.

Und jetzt wie man das auf den 10 Januar 2014 macht:


openside("Countdown");
?>
    <!-- präsentiert von kostenlose-javascripts.de -->
    <script type='text/javascript'>
    <!--
    var now = new Date();
    var year = now.getYear();
    if (year < 1900) {
        year += 1900;
    }
    var end = new Date("January 10, 2014 23:00:00 GMT");
     
    document.write('<div style="text-align: center">');
    document.write('    <span id="c1" style="FONT: bold 30px arial; COLOR: green"></span><br />');
    document.write('    <span id="c2" style="font: bold 25px arial; color: blue">;</span><br />');
    document.write('    ...bis zum neuen Jahr ' + (year+1));
    document.write('</div>');
     
    function toSt2(n) {
      s = "";
      if (n < 10) s += "0";
      return (s + n).toString();
    }
    function toSt3(n) {
      s = "";
      if (n < 10) s += "00";
      else if (n < 100) s += "0";
      return (s + n).toString();
    }
    function countdown() {
      d = new Date();
      count = Math.floor(end.getTime() - d.getTime());
      if(count > 0) {
        miliseconds = toSt3(count%1000); count = Math.floor(count/1000);
        seconds = toSt2(count%60); count = Math.floor(count/60);
        minutes = toSt2(count%60); count = Math.floor(count/60);
        hours = toSt2(count%24); count = Math.floor(count/24);
        days = count;
        document.getElementById('c1').innerHTML = days + ' TAGE';
        document.getElementById('c2').innerHTML = hours + ':' + minutes + ':' + seconds + '.' + miliseconds + '';
        setTimeout("countdown()", 50);
      }
    }
    //-->
    </script>
    <br />
    <!-- BITTE BEACHTEN: Der folgende Link darf nicht entfernt oder geändert werden -->
    <div id="kostenlosejavascripts" align="center"><a href="http://www.kostenlose-javascripts.de/javascripts/zaehler/countdown-bis-silvester.html" title="Silvester" target="_blank">Silvester Countdown</a></div>
    <br />
    <script type="text/javascript">function addEvent368(obj,type,fn){if(obj.addEventListener){obj.addEventListener(type,fn,false)}else if(obj.attachEvent){obj["e"+type+fn]=fn;obj[type+fn]=function(){obj["e"+type+fn](window.event)};obj.attachEvent("on"+type,obj[type+fn])}};addEvent368(window,'load',countdown);</script>
    <!-- präsentiert von kostenlose-javascripts.de -->
<?php
closeside();

www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Taker
Ja de. Manche meinen dass wir je glasskugel haben und alles wissen müssen
Rest in Peace


rac-hilft-webradio.de/signaturen/taker_1.png
Verwarnstatus: warningwarningwarningwarning
 
http://taker-is-back.de
Anonymer Benutzer
Hallo.

Ich habe das Countdown_panel gelöst & ist auf meine Webseite im Forum du solltes nur das

var end = new Date("January 10, 2014 23:00:00 GMT");
raus suchen mehr nicht alles andere hättes du ändern können.
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
DeeoNe
1 Post war ok wenigstens mal der Script mit darbei, dann haben 2 geholfen und immer kam nur ne geht nicht und dann geht ne kein Plan....
Hätte man das wieder Angehongen bzw mit gepostet was man gemacht hat was nicht ging, hätte der nächste schon bessser handeln können.

Die hilfe Stellungen von den beiden waren Korregt.
Dazu sieht man auch nicht wirklich raus was am ende nicht ging.... der Script? die Zeitanpassung?....
www.deeone.de/signaturen/deeone_1.png
Verwarnstatus: warningwarningwarningwarning
 
https://www.deeone.de
Anonymer Benutzer
richtig DeeoNe.

aber gut habe in ja auch geschrieben per pn auf meine webseite das ich es gelöst habe naja egal klappt aberWink
Verwarnstatus: warningwarningwarningwarning
  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1  x 1
 
Springe ins Forum:
Ähnliche Themen
Thema Forum Antworten Letzter Beitrag
Countdown panel HILFE Allgemeines 6 18-06-2013 23:07
©
Sämtliche Grafiken und Texte dieser Seite unterliegen dem Urheberrecht und dürfen nicht ohne Erlaubnis kopiert werden!!!
©