Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Offer Is Ending is 120 Seconds Code
#1
Code:
<form name="counter" style="margin: 0px;">            <span style="font-size: 20px;">Offer Ends In
           <input value="103.2" name="d2" style="border: 0px none;
background-color: rgb(255, 255, 255); font-size: 28px; color: blue;
font-weight: bold; width: 77px; padding-top: 5px;" type="text">
           Seconds
               </span>
         </form>
         <script>


<!--


//


var milisec=0


var seconds=120


document.counter.d2.value='120'






function display(){


if (milisec<=0){


   milisec=9


   seconds-=1


}


if (seconds<=-1){


   milisec=0


   seconds+=1


}


else


   milisec-=1


   document.counter.d2.value=seconds+"."+milisec


   setTimeout("display()",100)


}


display()


-->


</script>
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)