PHP ver gevorderde |
|
Heeft iemand enig idee waarom dit niet werkt in FireFox?:
<script language="JavaScript">
function tS(){ x=new Date(); x.setTime(x.getTime()); return x; }
function lZ(x){ return (x>9)?x:'0'+x; }
function dT(){ if(fr==0){ fr=1; document.write('<a href="homepage.htm"><p class="normaal"><span id="tP">'+eval(oT)+'</span></p></a>'); } tP.innerText=eval(oT); setTimeout('dT()',1000); }
function y4(x){ return (x<500)?x+1900:x; }
var dN=new Array('Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag'),mN=new Array('januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'),fr=0,oT="dN[tS().getDay()]+' '+tS().getDate()+' '+mN[tS().getMonth()]+' '+y4(tS().getYear())+','+' '+lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+' '";
</script>
<script language="JavaScript">dT();</script>
<script language="JavaScript"> function tS (){ x =new Date(); x .setTime (x .getTime ()); return x ; } function lZ(x){ return (x>9)?x:'0'+x; } function dT (){ if(fr ==0){ fr =1; document .write ('<a href="homepage.htm"><p class="normaal"><span id="tP">'+eval(oT )+'</span></p></a>'); } tP .innerText =eval(oT ); setTimeout ('dT()',1000); } function y4(x){ return (x<500)?x+1900:x; } var dN =new Array('Zondag','Maandag','Dinsdag','Woensdag','Donderdag','Vrijdag','Zaterdag'),mN =new Array('januari','februari','maart','april','mei','juni','juli','augustus','september','oktober','november','december'),fr =0,oT ="dN[tS().getDay()]+' '+tS().getDate()+' '+mN[tS().getMonth()]+' '+y4(tS().getYear())+','+' '+lZ(tS().getHours())+':'+lZ(tS().getMinutes())+':'+lZ(tS().getSeconds())+' '"; </script> <script language="JavaScript">dT();</script>
|