Visualizzazione dei risultati da 1 a 3 su 3

Discussione: mesi calendario html

  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2008
    Messaggi
    8

    mesi calendario html

    salve a tutti, innanzitutto vorrei farvi i complimenti per il forum, poi premetto che di html so praticamente 0,0000000 (fino a questa mattina non sapevo neanche cosa fosse ) allora questo è il mio problema: sto traducendo un calendario html, procede tutto bene. l'unico problema è che il mese che sta vicino all'anno in cima persiste a rimanere inglese; vi posto il codice sperando che riusciate ad aiutarmi

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

    <title>Windows Calendar</title>

    <style type="text/css">

    <!--

    body {

    margin-left: 0px;

    margin-top: 0px;

    margin-right: 0px;

    margin-bottom: 0px;

    background-color: #FFFFFF;

    }

    #Layer1 {

    position:absolute;

    width:203px;

    height:152px;

    z-index:1;

    left: 0px;

    top: 52px;

    text-align: center;

    }

    #Layer2 {

    position:absolute;

    width:207px;

    height:28px;

    z-index:2;

    left: 253px;

    top: 47px;

    }

    body,td,th {

    font-family: Tahoma;

    font-size: 12px;

    }

    #Layer3 {

    position:absolute;

    width:159px;

    height:37px;

    z-index:3;

    top: 99px;

    left: 242px;

    }

    -->

    </style></head>



    <body>

    [img]system/system_images/calendar_images/cal_bg.PNG[/img]

    <div id="Layer1">

    <iframe src="calender_inner.html" id="cal" name="cal" width="203" height="154" frameborder="0" scrolling="No" style="margin: 0px;"></iframe></div>

    <div id="Layer2">



    <div align="left">

    <script type="text/javascript">



    var d=new Date();var weekday=new Array(7);



    weekday[0]="Domenica";

    weekday[1]="Lunedi";

    weekday[2]="Martedi";

    weekday[3]="Mercoledi";

    weekday[4]="Giovedi";

    weekday[5]="Venerdi";

    weekday[6]="Sabato";



    var d=new Date();var month=new Array(12);



    month[0]="Gennaio";

    month[1]="Febbraio";

    month[2]="Marzo";

    month[3]="Aprile";

    month[4]="Maggio";

    month[5]="Giugno";

    month[6]="Luglio";

    month[7]="Agosto";

    month[8]="Settembre";

    month[9]="Ottobre";

    month[10]="Novembre";

    month[11]="Dicembre";



    var d = new Date();



    var d = new Date();



    function startTime()

    {

    var today=new Date();

    var h=today.getHours();

    var m=today.getMinutes();

    var s=today.getSeconds();

    // add a zero in front of numbers<10

    m=checkTime(m);

    s=checkTime(s);

    document.getElementById('txt').innerHTML=h+":"+m+" :"+s;

    t=setTimeout('startTime()',500);

    }



    function checkTime(i)

    {

    if (i<10)

    {

    i="0" + i;

    }

    return i;

    }



    document.write("<div style='position:absolute; top:0px; left:0px; color:black; text-align:center; font-family: tahoma; font-size: 12'>" + weekday[d.getDay()] + ", " + month[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear() + "</div>");

    </script>

    </div>

    </div>

    <div id="Layer3">

    <form id="form1" name="form1" method="post" action="">

    <label>

    <textarea name="textarea"></textarea>

    </label>

    </form>

    </div>

    </body>

    </html>


    se poi sareste tanto gentile da spiegarmi anche il come si fa ve ne sarei immensamente grato.
    Saluti

  2. #2
    Utente bannato
    Registrato dal
    Sep 2007
    Messaggi
    2,777
    Dal codice che hai postato non si capisce molto se hai un link forse è meglio

    Neanche la domanda è molto chiara senza vedere nulla

  3. #3
    Salve ragazzi,
    Complimenti innanzitutto per questo forum. Mi riallaccio a questa discussione perchè volevo sapere se esisteva un codice per mettere un calendario in home con delle immagini per ogni mese, in particolare per un forum della piattaforma forumfree. Vi ringrazio in anticipo per l'aiuto.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.