I need some help. Hope to find it here.
I'd like to put the date on my website. Browsing this forum I found two ways to do so. The first I donnt understand (using php and an Iframe) and one that works, but doesnt look the way I'd like it to. You can see the result at www.snelensimpeleengratiswebsitebouwen.com wich is very much under construction (published it a few hours ago).
As you can see the date is in a button. What I like it to be is just plain text in the right font.
I found the script I used on this forum and narrowed it down to:
<form name=myForm>
<input type=button value="Loading..." name=clock></form>
<SCRIPT LANGUAGE="JavaScript"><!--
function runClock(){
theTime = window.setTimeout("runClock()", 1000);
d = new Date();
day = d.getDay();
mon = d.getMonth();
date = d.getDate();
year = d.getYear();
zday=new Array();
zday=["Zondag","Maandag","Dinsdag","Woensdag","Donderdag " ,"Vrijdag","Zaterdag"];
zmon=new Array();
zmon=["Januari","Februari","Maart","April","Mei","Ju ni", "Juli","Augustus","September","Oktober","November" ," December"];
document.myForm.clock.value=""+zday[day]+", "+zmon[mon]+" "+date+", "+year+"";}
runClock();
//--></script>
Can somebody tell me how to change it into what I'm looking for. Have trying and browsing both the net and this forum for a day and a half. Its time to swollow my pride and ask for help :)
Carl
I'd like to put the date on my website. Browsing this forum I found two ways to do so. The first I donnt understand (using php and an Iframe) and one that works, but doesnt look the way I'd like it to. You can see the result at www.snelensimpeleengratiswebsitebouwen.com wich is very much under construction (published it a few hours ago).
As you can see the date is in a button. What I like it to be is just plain text in the right font.
I found the script I used on this forum and narrowed it down to:
<form name=myForm>
<input type=button value="Loading..." name=clock></form>
<SCRIPT LANGUAGE="JavaScript"><!--
function runClock(){
theTime = window.setTimeout("runClock()", 1000);
d = new Date();
day = d.getDay();
mon = d.getMonth();
date = d.getDate();
year = d.getYear();
zday=new Array();
zday=["Zondag","Maandag","Dinsdag","Woensdag","Donderdag " ,"Vrijdag","Zaterdag"];
zmon=new Array();
zmon=["Januari","Februari","Maart","April","Mei","Ju ni", "Juli","Augustus","September","Oktober","November" ," December"];
document.myForm.clock.value=""+zday[day]+", "+zmon[mon]+" "+date+", "+year+"";}
runClock();
//--></script>
Can somebody tell me how to change it into what I'm looking for. Have trying and browsing both the net and this forum for a day and a half. Its time to swollow my pride and ask for help :)
Carl
Comment