Putting a Calendar into webpage.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ljsay4
    Private

    • Jan 2010
    • 1

    Putting a Calendar into webpage.

    Is there a template for placing a interactive calendar on a web page?
  • WSBlue
    Brigadier General

    • Apr 2006
    • 1415

    #2
    Re: Putting a Calendar into webpage.

    From NavalDesign
    copy and paste this in HTML box:

    <form name=myForm>
    <input type=text style="position:absolute;width:250px;border:0px #000080 solid;background-color:;color:#00008
    0;font-family:Arial;font-style:regular;font-size:14 "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();
    hr = d.getHours();
    min = d.getMinutes();
    sec = d.getSeconds();
    if(year<1000){year=(""+(year+11900)).substring(1,5 );}
    else{year=(""+(year+10000)).substring(1,5);}
    if(hr==0){ap=" AM";hr=12}
    else if(hr <= 11){ap=" AM"}
    else if(hr == 12){ap=" PM";hr=12}
    else if(hr >= 13){ap=" PM";hr-=12}
    if(min <= 9){min="0"+min}
    if(sec <= 9){sec="0"+sec}
    zday=new Array();
    zday=["Sunday","Monday","Tuesday","Wednesday","Thurs day" ,"Friday","Saturday"];
    zmon=new Array();
    zmon=["January","February","March","April","May","Ju ne", "July","August","September","October","Novembe r"," December"];
    document.myForm.clock.value=""+zday[day]+", "+zmon[mon]+" "+date+", "+year+" "+hr+":"+min+":"+sec+ap+"";}
    runClock();
    //--></script>

    Comment

    • WSBlue
      Brigadier General

      • Apr 2006
      • 1415

      #3
      Re: Putting a Calendar into webpage.

      Comment

      • Collectors-info
        General

        • Feb 2006
        • 8703

        #4
        Re: Putting a Calendar into webpage.

        Originally posted by ljsay4 View Post
        Is there a template for placing a interactive calendar on a web page?
        There is a calander script in your cpanel under fantasico which i beleive has interactive capability depending on permissions given to a user.
        Regards Chris.

        Collectables, Collecting, collectors-info.com

        www.chrismorris.co.uk

        House build project

        Comment

        Working...
        X