Script Pershendeti vizitoret automatikisht

View previous topic View next topic Go down

Script Pershendeti vizitoret automatikisht

Post  Admin on Sat Jan 09, 2010 6:48 am

Ky script eshte per ti pershendetur vizitoret e webit tuaj automatikisht psh:
Ne mengjes thote : Miremengjesi ne mesdite mirdita e kshtu me radhe

<script>
function getGreeting(){
var curDateTime = new Date()
var curHour = curDateTime.getHours()
var greeting = "Mirdita"
if (curHour < 12 && curHour >= 0)
greeting = "Miremengjesi"
if (curHour >=12 && curHour < 18)
greeting = "Mirembrema"
return greeting
}

Admin
Admin

Posts : 149
Join date : 2010-01-05

View user profile http://al-capone.niceboard.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum