1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < title > Counter up by Bfintal</ title >
7
+ < meta name ="description " content ="Counter-Up is a lightweight jQuery plugin that counts up to a targeted number when the number becomes visible. ">
8
+ < meta name ="author " content ="bfintal ">
9
+ < meta name ="robots " content ="index, follow ">
10
+ <!-- Canonical URL -->
11
+ < link rel ="canonical " href ="https://codehimblog.github.io/jquery-plugins/counter-up-by-bfintal.html ">
12
+ <!-- Favicon -->
13
+ < link rel ="icon " href ="/favicon.ico " type ="image/png ">
14
+ <!-- Bootstrap CSS -->
15
+ < link href ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css "
rel ="
stylesheet "
>
16
+ <!-- Bootstrap Icons -->
17
+ < link href ="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css " rel ="stylesheet ">
18
+ < link rel ="stylesheet " href ="/css/styles.css ">
19
+ </ head >
20
+ < body >
21
+ <!-- Navbar -->
22
+ < nav class ="navbar navbar-expand-lg navbar-dark bg-dark fixed-top ">
23
+ < div class ="container ">
24
+ < a class ="navbar-brand " href ="https://codehimblog.github.io ">
25
+ < i class ="bi bi-box-seam me-2 "> </ i > CodehimBlog
26
+ </ a >
27
+ < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarNav " aria-controls ="navbarNav " aria-expanded ="false " aria-label ="Toggle navigation ">
28
+ < span class ="navbar-toggler-icon "> </ span >
29
+ </ button >
30
+ < div class ="collapse navbar-collapse " id ="navbarNav ">
31
+ < ul class ="navbar-nav ms-auto ">
32
+ < li class ="nav-item ">
33
+ < a class ="nav-link " href ="https://codehimblog.github.io/ "> < i class ="bi bi-house-door me-1 "> </ i > Home</ a >
34
+ </ li >
35
+ < li class ="nav-item ">
36
+ < a class ="nav-link " href ="https://codehimblog.github.io/projects/ "> < i class ="bi bi-box me-1 "> </ i > Projects</ a >
37
+ </ li >
38
+ < li class ="nav-item ">
39
+ < a class ="nav-link " href ="https://codehimblog.github.io/about.html "> < i class ="bi bi-book me-1 "> </ i > About</ a >
40
+ </ li >
41
+ < li class ="nav-item ">
42
+ < a class ="nav-link " href ="https://codehimblog.github.io/contact.html "> < i class ="bi bi-envelope me-1 "> </ i > Contact</ a >
43
+ </ li >
44
+ </ ul >
45
+ </ div >
46
+ </ div >
47
+ </ nav >
48
+
49
+ <!-- Breadcrumbs -->
50
+ < div class ="container mt-4 breadcrumbs ">
51
+ < nav aria-label ="breadcrumb ">
52
+ < ol class ="breadcrumb mb-0 ">
53
+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/ "> Home</ a > </ li >
54
+ < li class ="breadcrumb-item "> < a href ="https://codehimblog.github.io/jquery-plugins/ "> jQuery Plugins</ a > </ li >
55
+ < li class ="breadcrumb-item active " aria-current ="page "> Counter up</ li >
56
+ </ ol >
57
+ </ nav >
58
+ </ div >
59
+
60
+ <!-- Schema Markup for Breadcrumbs -->
61
+ < script type ="application/ld+json ">
62
+ {
63
+ "@context" : "https://schema.org" ,
64
+ "@type" : "BreadcrumbList" ,
65
+ "itemListElement" : [
66
+ {
67
+ "@type" : "ListItem" ,
68
+ "position" : 1 ,
69
+ "name" : "Home" ,
70
+ "item" : "https://codehimblog.github.io/"
71
+ } ,
72
+ {
73
+ "@type" : "ListItem" ,
74
+ "position" : 2 ,
75
+ "name" : "jQuery Plugins" ,
76
+ "item" : "https://codehimblog.github.io/jquery-plugins/"
77
+ } ,
78
+ {
79
+ "@type" : "ListItem" ,
80
+ "position" : 3 ,
81
+ "name" : "Counter up" ,
82
+ "item" : "https://codehimblog.github.io/projects/{{packageSlug}}"
83
+ }
84
+ ]
85
+ }
86
+ </ script >
87
+ <!-- Main Content -->
88
+ < div class ="container mt-3 ">
89
+ < div class ="row ">
90
+ <!-- Main Details -->
91
+ < main class ="col-md-8 site-main p-0 ">
92
+ < article >
93
+ <!-- Project Name & Description -->
94
+ < h1 id ="packageName "> Counter up</ h1 >
95
+ < p id ="packageDescription " class ="text-muted "> Counter-Up is a lightweight jQuery plugin that counts up to a targeted number when the number becomes visible.</ p >
96
+
97
+
98
+
99
+ <!-- Statistics -->
100
+ < div class ="stat-row d-flex justify-content-around align-items-center text-center mb-2 ">
101
+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
102
+ < i class ="bi bi-star-fill text-warning mb-2 "> </ i >
103
+ < div >
104
+ < span id ="stargazersCount " class ="stat-value "> 746</ span >
105
+ < p class ="stat-label mb-0 "> Stars</ p >
106
+ </ div >
107
+ </ div >
108
+
109
+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
110
+ < i class ="bi bi-box-arrow-in-down mb-2 "> </ i >
111
+ < div >
112
+ < span id ="repoSize " class ="stat-value "> 0.01 MB</ span >
113
+ < p class ="stat-label mb-0 "> Size</ p >
114
+ </ div >
115
+ </ div >
116
+
117
+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
118
+ < i class ="bi bi-arrow-repeat text-secondary mb-2 "> </ i >
119
+ < div >
120
+ < span id ="forksCount " class ="stat-value "> 718</ span >
121
+ < p class ="stat-label mb-0 "> Forks</ p >
122
+ </ div >
123
+ </ div >
124
+
125
+ < div class ="stat-box d-flex align-items-center flex-column-mobile ">
126
+ < i class ="bi bi-exclamation-circle text-danger mb-2 "> </ i >
127
+ < div >
128
+ < span id ="openIssuesCount " class ="stat-value "> 64</ span >
129
+ < p class ="stat-label mb-0 "> Open Issues</ p >
130
+ </ div >
131
+ </ div >
132
+ </ div >
133
+
134
+
135
+ < div class ="ad-unit ad-apt ">
136
+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
137
+ crossorigin ="anonymous "> </ script >
138
+ <!-- CodehimBlog APT -->
139
+ < ins class ="adsbygoogle "
140
+ style ="display:block "
141
+ data-ad-client ="ca-pub-7089100907045419 "
142
+ data-ad-slot ="4990741913 "
143
+ data-ad-format ="auto "
144
+ data-full-width-responsive ="true "> </ ins >
145
+ < script >
146
+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
147
+ </ script >
148
+ </ div >
149
+
150
+ < div class ="row mb-4 ">
151
+ <!-- Tabs (Left) -->
152
+ < div class ="col-12 col-md-6 d-flex justify-content-start mb-3 mb-md-0 ">
153
+ < ul class ="nav nav-tabs " id ="infoTabs " role ="tablist ">
154
+ < li class ="nav-item " role ="presentation ">
155
+ < button class ="nav-link active " id ="installation-tab " data-bs-toggle ="tab " data-bs-target ="#installation " type ="button " role ="tab " aria-controls ="installation " aria-selected ="true ">
156
+ < i class ="bi bi-file-earmark-text "> </ i > Readme
157
+ </ button >
158
+ </ li >
159
+ < li class ="nav-item " role ="presentation ">
160
+ < button class ="nav-link " id ="changelog-tab " data-bs-toggle ="tab " data-bs-target ="#changelog " type ="button " role ="tab " aria-controls ="changelog " aria-selected ="false ">
161
+ < i class ="bi bi-journal-text me-2 "> </ i > Changelog
162
+ </ button >
163
+ </ li >
164
+ </ ul >
165
+ </ div >
166
+
167
+ <!-- Action Buttons (Right) -->
168
+ < div class ="col-12 col-md-6 d-flex align-items-center justify-content-end ">
169
+ < a href ="https://github.com/bfintal/Counter-Up/archive/refs/heads/master.zip " class ="btn btn-primary me-2 action-btn " id ="downloadBtn ">
170
+ < i class ="bi bi-cloud-download me-2 "> </ i > Download ZIP
171
+ </ a >
172
+ < a href ="https://github.com/bfintal/Counter-Up " target ="_blank " class ="btn btn-outline-secondary action-btn " id ="githubBtn ">
173
+ < i class ="bi bi-github me-2 "> </ i > Fork on GitHub
174
+ </ a >
175
+ </ div >
176
+ </ div >
177
+ < div class ="tab-content mt-3 " id ="infoTabsContent ">
178
+ < div class ="tab-pane fade show active " id ="installation " role ="tabpanel " aria-labelledby ="installation-tab ">
179
+ < h2 > Please use < a href ="https://github.com/bfintal/Counter-Up2 "> Counter-Up2</ a > instead, Counter Up 2 greatly improves on Counter Up, has no dependencies, lightweight, uses modern code, and more.</ h2 >
180
+ < h1 > Counter-Up</ h1 >
181
+ < p > Counter-Up is a jQuery plugin that < em > animates</ em > a number from zero (counting up towards it). It supports counting up:</ p >
182
+ < ul >
183
+ < li > integers < code > 12345</ code > </ li >
184
+ < li > floats < code > 0.1234</ code > </ li >
185
+ < li > formatted numbers < code > 1,234,567.00</ code > </ li >
186
+ </ ul >
187
+ < p > Features:</ p >
188
+ < ul >
189
+ < li > Auto-detect for integers, floats or formatted numbers</ li >
190
+ < li > The plugin will also use the number of decimal places the original number is using.</ li >
191
+ < li > Lightweight: ~1kb</ li >
192
+ < li > Minimal setup</ li >
193
+ </ ul >
194
+ < p > < em > Requires < a href ="http://imakewebthings.com/jquery-waypoints/ "> waypoints.js</ a > </ em > </ p >
195
+ < h1 > Demo</ h1 >
196
+ < p > < strong > < a href ="http://bfintal.github.io/Counter-Up/demo/demo.html "> DEMO</ a > </ strong > </ p >
197
+ < h1 > Usage</ h1 >
198
+ < p > < strong > Include</ strong > </ p >
199
+ < pre > < code > <script src="http://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script>
200
+ <script src="jquery.counterup.min.js"></script></ code > </ pre >
201
+ < p > < strong > HTML</ strong > </ p >
202
+ < pre > < code > <span class="counter">1,234,567.00</span>
203
+ <span>$</span><span class="counter">1.99</span>
204
+ <span class="counter">12345</span></ code > </ pre >
205
+ < p > < strong > jQuery</ strong > </ p >
206
+ < pre > < code > $('.counter').counterUp();</ code > </ pre >
207
+ < p > < strong > or with extra parameters</ strong > </ p >
208
+ < pre > < code > $('.counter').counterUp({
209
+ delay: 10,
210
+ time: 1000
211
+ });</ code > </ pre >
212
+ < p > < code > delay</ code > - The delay in milliseconds per number count up</ p >
213
+ < p > < code > time</ code > - The total duration of the count up animation</ p >
214
+ < h1 > Social Stuff</ h1 >
215
+ < p > Twitter: < a href ="https://twitter.com/bfintal "> @bfintal</ a > & < a href ="https://twitter.com/gambitph "> @gambitph</ a > </ p >
216
+ < p > Google+: < a href ='https://plus.google.com/113101541449927918834 ' rel ='author '> +Benjamin Intal</ a > </ p >
217
+ </ div >
218
+
219
+ < div class ="tab-pane fade " id ="changelog " role ="tabpanel " aria-labelledby ="changelog-tab ">
220
+ < ul id ="changelogList ">
221
+ No changelog available.
222
+ </ ul >
223
+ </ div >
224
+
225
+ </ div >
226
+
227
+ < div class ="tags mb-2 mt-2 ">
228
+
229
+ </ div >
230
+
231
+ </ article >
232
+
233
+
234
+ </ main >
235
+ <!-- Sidebar -->
236
+ < aside class ="col-md-4 p-0 ">
237
+ < div class ="sidebar ">
238
+ <!-- Owner Section -->
239
+ < div class ="sidebar-item mb-4 ">
240
+ < div class ="ad-unit ">
241
+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
242
+ crossorigin ="anonymous "> </ script >
243
+ <!-- CodehimBlog Sidebar -->
244
+ < ins class ="adsbygoogle "
245
+ style ="display:block "
246
+ data-ad-client ="ca-pub-7089100907045419 "
247
+ data-ad-slot ="8929986923 "
248
+ data-ad-format ="auto "
249
+ data-full-width-responsive ="true "> </ ins >
250
+ < script >
251
+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
252
+ </ script >
253
+ </ div >
254
+ < div class ="d-flex align-items-center ">
255
+ < img src ="https://avatars.githubusercontent.com/u/1033611?v=4 " alt ="Owner Avatar " class ="rounded-circle me-2 owner-avatar ">
256
+ < a href ="https://github.com/bfintal " target ="_blank " id ="ownerName " class ="sidebar-link "> bfintal</ a >
257
+ </ div >
258
+ </ div >
259
+
260
+ <!-- Metadata Section -->
261
+ < div class ="sidebar-item mb-2 ">
262
+ < div class ="metadata-item d-flex align-items-center ">
263
+ < i class ="bi bi-calendar me-2 "> </ i >
264
+ < strong > Created At:</ strong >
265
+ < span id ="createdAt " class ="ms-1 "> November 25, 2013</ span >
266
+ </ div >
267
+ < div class ="metadata-item d-flex align-items-center mt-2 ">
268
+ < i class ="bi bi-pencil-square me-2 "> </ i >
269
+ < strong > Last Updated:</ strong >
270
+ < span id ="updatedAt " class ="ms-1 "> November 15, 2024</ span >
271
+ </ div >
272
+ < div class ="metadata-item d-flex align-items-center mt-2 ">
273
+ < i class ="bi bi-file-earmark-code me-2 "> </ i >
274
+ < strong > Language:</ strong >
275
+ < span id ="language " class ="ms-1 "> JavaScript</ span >
276
+ </ div >
277
+
278
+ < div class ="metadata-item d-flex align-items-center mt-2 ">
279
+ < i class ="bi bi-shield-check "> </ i >
280
+ < strong > License:</ strong >
281
+ < span id ="license " class ="ms-1 "> GNU General Public License v2.0</ span >
282
+ </ div >
283
+ < a href ="http://bfintal.github.io/Counter-Up/demo/demo.html " target ="_blank " class ="btn btn-outline-dark btn-sm " id ="homepageBtn ">
284
+ < i class ="bi bi-house-door me-2 "> </ i > Visit Homepage
285
+ </ a >
286
+
287
+ </ div >
288
+
289
+ < div class ="sidebar-item mb-2 ">
290
+ < li > No dependencies!</ li >
291
+ </ div >
292
+
293
+ < div class ="sidebar-item ">
294
+ < h5 class ="sidebar-title "> Contributors</ h5 >
295
+ < ul class ="p-0 " id ="contributorsList ">
296
+ < ul class ="list-group list-group-flush " id ="contributorsList "> < li class ="list-group-item d-flex align-items-center contributor-item "> < img src ="https://avatars.githubusercontent.com/u/1033611?v=4 " alt ="bfintal " class ="rounded-circle me-3 " style ="width: 40px; height: 40px; "> < div > < a href ="https://github.com/bfintal " target ="_blank " class ="text-decoration-none fw-bold "> bfintal</ a > < p class ="mb-0 text-muted small "> 11 contributions</ p > </ div > </ li > </ ul >
297
+ </ ul >
298
+
299
+ </ div >
300
+
301
+ < div class ="ad-unit ">
302
+ < script async src ="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7089100907045419 "
303
+ crossorigin ="anonymous "> </ script >
304
+ <!-- CodehimBlog Skyscrapper -->
305
+ < ins class ="adsbygoogle "
306
+ style ="display:block "
307
+ data-ad-client ="ca-pub-7089100907045419 "
308
+ data-ad-slot ="7469565592 "
309
+ data-ad-format ="auto "
310
+ data-full-width-responsive ="true "> </ ins >
311
+ < script >
312
+ ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ;
313
+ </ script >
314
+ </ div >
315
+
316
+ </ div >
317
+ </ aside >
318
+ </ div >
319
+ </ div >
320
+ <!-- Footer -->
321
+ < footer class ="bg-dark text-white text-center py-3 page-footer ">
322
+ < div class ="container ">
323
+ < p class ="mb-2 "> © 2024 CodehimBlog - Powered by GitHub</ p >
324
+ < nav >
325
+ < ul class ="list-inline mb-0 ">
326
+ < li class ="list-inline-item ">
327
+ < a href ="/privacy-policy.html " class ="footer-link "> Privacy Policy</ a >
328
+ </ li >
329
+ < li class ="list-inline-item ">
330
+ < span class ="text-white "> |</ span >
331
+ </ li >
332
+ < li class ="list-inline-item ">
333
+ < a href ="/terms-and-conditions.html " class ="footer-link "> Terms and Conditions</ a >
334
+ </ li >
335
+ </ ul >
336
+ </ nav >
337
+ </ div >
338
+ </ footer >
339
+ <!-- Bootstrap Bundle JS -->
340
+ < script src ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/js/bootstrap.bundle.min.js "
> </ script >
341
+ < script src ="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js "> </ script >
342
+ < script src ="/js/script.js "> </ script >
343
+ <!-- Google tag (gtag.js) -->
344
+ < script async src ="https://www.googletagmanager.com/gtag/js?id=G-FG2ZX76XGT "> </ script >
345
+ < script >
346
+ window . dataLayer = window . dataLayer || [ ] ;
347
+ function gtag ( ) { dataLayer . push ( arguments ) ; }
348
+ gtag ( 'js' , new Date ( ) ) ;
349
+
350
+ gtag ( 'config' , 'G-FG2ZX76XGT' ) ;
351
+ </ script >
352
+ </ body >
353
+ </ html >
0 commit comments