Powered By TUROCK
Aici puteti gasi tot ceea ce va intereseaza.
Lista Forumurilor Pe Tematici
Powered By TUROCK | Reguli | Inregistrare | Login

POZE POWERED BY TUROCK

Nu sunteti logat.
Nou pe simpatie:
Andreea Miluta
Femeie
24 ani
Braila
cauta Barbat
30 - 48 ani
Powered By TUROCK / Html, Css / Afiseaza diferite mesaje in functie de ora. Moderat de UNHleaSHD
Autor
Mesaj Pagini: 1
IoNuTz
AdMiN

Din: Bucuresti
Inregistrat: acum 18 ani
Postari: 837
<script language="javascript">
<!--hide


// *Time-of-Day Messages Status Bar*

//

// Free for use as long as this is left in place.

//

//

//

// Note:  Be sure to place the following in the Body tag:      //onLoad="Change();Place();Time()"



    txt = ""
    txtt = ""
    txttt = ""
function Time() {
    var now = new Date();
    var time = now.getHours();

    //Change the 3 messages to your liking.
    //DO NOT USE CONJUCTIONS OR ANY APOSTROPHES
   
    //late night - very early morning
    if (time > 23 && time < 6) { txt = 'Do you ever sleep?';
    txtt = 'What is your bedtime?';
        txttt = 'You need sleep to live!'}
    //early morning
     else if (time > 5 && time < 8) { txt = 'So, we have an early riser huh?';
    txtt = 'The early bird gets the worm.';
    txttt = 'What type of worm do you like?'}
    //end of morning
     else if (time > 7 && time < 12) { txt = 'I hope you are having a good morning.';
    txtt = 'Mine has been great!';
    txttt = 'Sorry if yours has not been good.'}
    //afternoon
     else if (time > 11 && time < 17) { txt = 'What an afternoon we are having!';
    txtt = 'It is beautiful outside!';
    txttt = 'Why are you inside on the computer?'}
    //evening - night
     else { txt = 'This is one great evening!';
    txtt = 'It is starting to get late.';
    txttt = 'Have you had supper yet?'}
}



    //Leave this stuff alone.  It is required for later.
    var worddd = 0
    var word = 0
    var wordd = 0
    var msg
    var timeI
    var timeII
    var timeIII
    var timeIIII

function Change() {
    if (word < txt.length+1) { word++;
    timeI = setTimeout("Change()", 100) }
     else if (word > txt.length) { clearTimeout(timeI);
    Changee() }
}

function Changee() {
    if (wordd < txtt.length+1) { wordd++;
    timeIII = setTimeout("Changee()", 100) }
     else if (wordd > txtt.length) { clearTimeout(timeIII);
    Changeee() }
}   

function Changeee() {
    if (worddd < txttt.length+1) { worddd++;
    timeIIII = setTimeout("Changeee()", 100) }
     else if (worddd > txttt.length) { clearTimeout(timeIIII);
    word = 0; wordd = 0; worddd = 0; Change() }
}

function Place() {
    if (word < txt.length+1) msg = txt.substring(0, word)
     else if (word > txt.length && wordd < txtt.length+1) msg = txtt.substring(0, wordd)
     else if (wordd > txtt.length && worddd < txttt.length+1) msg = txttt.substring(0, worddd)
     else if (worddd > txttt.length) msg = txt.substring(0, word)
    window.status = msg
    timeII = setTimeout("Place()", 100)
}


//-->
</script>


_______________________________________
Free Web Hosting :

pus acum 18 ani
   
Pagini: 1  

Mergi la