Quick Html help :)
2014-07-16, 12:44 AM,
#1
Im trying to get done a number count like http://www.hitleap.com

the section that sais "hit delivered" and is growing up

i tried to copy the html code

<div class="margin-top-20 text-align-center bold font-size-26 text-shadow" id="total-hits-delivered">75,964,625,533</div>


the thing is that the numbers are not growing up when i paste it in my site like hitleap

there is a way to make numbers grow every second with html code?
Reply
2014-07-16, 01:03 AM,
#2
I think you'll need to use PHP for that :/

[Image: Qhnn7lP.png]
Reply
2014-07-16, 01:09 AM,
#3
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???
Reply
2014-07-16, 01:14 AM, (This post was last modified: 2014-07-16, 01:15 AM by J0kara.)
#4
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

If you mean to get PHP code from hitleap, then answer is you cant do that. PHP is not visible like html. You cant see it if you just go right click and click show source. You'll need to learn PHP and write it yorself :/ (or ask someone to do that for you)

[Image: Qhnn7lP.png]
Reply
2014-07-16, 01:18 AM, (This post was last modified: 2014-07-16, 01:21 AM by Dream Software.)
#5
You can use javascript or jQuery to do this
Code:
<div class ="counter" > 1000</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script>
    $counter = 1000;
    $speed   =   10;
    $(document).ready(function()
   {
      setInterval(function(){ $('.counter').text($counter++);},$speed);
    });
</script>
Reply
2014-07-16, 01:20 AM,
#6
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

have a look : http://jsfiddle.net/mWH3g/1/
need jquery

[Image: eOKOotU.jpg]
Reply
2014-07-16, 01:41 AM,
#7
(2014-07-16, 01:20 AM)theinocent9090 Wrote:
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

have a look : /mWH3g/1/
need jquery

Woohooo thanks for this one.
Reply
2014-07-16, 01:44 AM,
#8
(2014-07-16, 01:20 AM)theinocent9090 Wrote:
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

have a look : /mWH3g/1/
need jquery
your counter restarts from 1000 every time you refresh page

here is how hitleap counter works http://jsfiddle.net/mWH3g/3/

Cool
Reply
2014-07-16, 02:18 AM, (This post was last modified: 2014-07-16, 02:33 AM by pwnisher.)
#9
(2014-07-16, 01:44 AM)herok Wrote:
(2014-07-16, 01:20 AM)theinocent9090 Wrote:
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

have a look : /mWH3g/1/
need jquery
your counter restarts from 1000 every time you refresh page

here is how hitleap counter works /mWH3g/3/


Thanks a lot, how can i paste this to my html page ?

I got it working :D thanks a lot
Reply
2014-07-16, 04:08 AM,
#10
(2014-07-16, 01:44 AM)herok Wrote:
(2014-07-16, 01:20 AM)theinocent9090 Wrote:
(2014-07-16, 01:09 AM)pwnisher Wrote:
(2014-07-16, 01:03 AM)J0kara Wrote: I think you'll need to use PHP for that :/

how can i found it ???

have a look : /mWH3g/1/
need jquery
your counter restarts from 1000 every time you refresh page

here is how hitleap counter works /mWH3g/3/


Excuse me sir, how can i put the code but with less numbers ?? like 3,000,000 .... ??

Thanks
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Where should I put <script> tags in HTML? Pirata 5 174 2017-12-03, 11:38 AM
Last Post: Pirata
  Can anyone give me a quick run down of the IG method? arizonadanktea 3 235 2017-10-03, 10:05 PM
Last Post: EnChanter
  Quick Youtube Question ? GhostxScripter 3 189 2017-10-03, 12:35 AM
Last Post: LB'Decoy
  Make quick 100$ (even if it's spamming) ? vincenzot_t 29 1,692 2017-07-07, 10:57 AM
Last Post: timberlin
  What is the QUICK methods to get targeted traffic to content locking sites? softae 3 315 2017-07-03, 01:47 PM
Last Post: adystanley





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top