Filehost.ro - gazduire fisiere
Free php scripts.
scripturi pentru webmasteri - free web tools - copie si lipeste scripts pentru situl tau sute de scripturi Daca vrei sa ai acces la baza de date trebuie sa te inregistrezi. Succes. Omae
Nou pe simpatie:
Angi
Femeie
25 ani
Bucuresti
cauta Barbat
26 - 52 ani
Free php scripts.ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Free php scripts. / ::.SCRIPTURI COPY&PASTE- AVATARE / COUNTER PERSONALIZABIL Pagini: 1 Moderat de SIGN, daniel, kayisATG-, ozzykris, tibilica
#1
omaebazooka
Administrator
Postari: 1105
PASUL 1 Add the below block to the HEAD section of page:

<style>
.counter{
background-color:black;
color:yellow;
font-weight:bold;
}
</style>

<SCRIPT>

//Personal Counter-
//Modified  (http://scripturi.3xforum.ro)
//Visit http://scripturi.3xforum.ro for this script

expireDate = new Date
expireDate.setMonth(expireDate.getMonth()+6)
jcount = eval(cookieVal("jaafarCounter"))
jcount++
document.cookie = "jaafarCounter="+jcount+";expires=" + expireDate.toGMTString()

function cookieVal(cookieName) {
thisCookie = document.cookie.split("; ")
for (i=0; i<thisCookie.length; i++){
    if (cookieName == thisCookie[i].split("=")[0]){
        return thisCookie[i].split("=")[1]
    }
}
return 0
}

function page_counter(){
for (i=0;i<(7-jcount.toString().length);i++)
document.write('<span class="counter">0</span>')
for (y=0;y<(jcount.toString().length);y++)
document.write('<span class="counter">'+jcount.toString().charAt(y)+'</span>')
}

</SCRIPT>

PASUL 2 Where you wish the counter to appear on the page, insert the following:

You have visited this page
<SCRIPT>
page_counter(jcount);
</SCRIPT>
times.


_______________________________________
http://2012en.wordpress.com/  "Living mistery"
http://mergi.la/RoTop69        "RoTop69"
www.cramanobless.ro                  "Producator vinuri nobile" - Paunesti,Vrancea, mail : info-at-cramanobless.ro
http://www.erepublik.com/en/referrer/HEXAGON+Omae Intra in lumea EREPUBLIK

 
   
Pagini: 1  
Mergi la