jylauril / jquery-runner Goto Github PK
View Code? Open in Web Editor NEWA runner/stopwatch plugin for jQuery
License: MIT License
A runner/stopwatch plugin for jQuery
License: MIT License
I want to use more than one runner input field. Is it posible to do so?
Is it possible after document is ready the selected input $("#runner") text will be initialized like this 00:00:00.00 or 00:00:00 instead of 00.00 ?
i am using it as a countdown script starting at 15 minutes without miliseconds:
15:00
when it reaches minute one, it looks like this (seconds only):
59
can i keep the zero minutes?? like this:
00:59
$("#runner").runner("lap") did not return the current time instead it shows as
[object object] in the alert mesage
Hi,
I'm with problem, when I have the time 01:00.00 or 01:00 the time when start show 59 or 59.xx (milliseconds) how to format to 00:59.xx and 00:59 How can I format this way?
found it in the first line: separator = ['', ':', ':', '.'],
but how can i overwrite it without modifying the sourcecode??
Hi
I want to show a "Prompt Alert Before Page Leave". But this alert should check that the runner is ON.
If runner is stopped or OFF the alert should not shown.
How could I do that?
Uncaught TypeError: Object [object Object] has no method 'on'
Code:
$('#runner').runner({
countdown: true,
startAt: 12 * 60 * 1000,
stopAt: 0
}).on('runnerFinish', function(eventObject, info) {
alert('The eggs are now hard-boiled!');
});
The timer runner is running but i want to do something when the runner finish,
I'm trying to create time counter (counts upwards) which have buttons to adjust the time.
E.g. +1s, +1m, -1s, -1m
How would I go about it?
Here is what I have so far: http://jsfiddle.net/sQU9J/
I see this warning in my Chrome Web Developer Tools when using jquery-runner:
'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
Is this something to be concerned with?
I found out that it eats my CPU if there are about 10 instances or more.
Made a workaround like this:
Changed Line 87 to:
Runner.prototype.updating = 20;
Changed Line 132 to:
if (this.updating >= 20) {
Changed Line 133 to:
this.updating = 0;
Added on Line 154:
this.updating++;
This saves a lot of CPU Power.
Thank you for this wonderful jQuery Plugin!
Hi
I am trying to use the runner UI but it is not working for me at all.
I have follower the instruction but still not finding where I went wrong. I have posted a detailed issue on the following link.http://forum.jquery.com/topic/runner-ui-does-not-run
I will appreciate it if you can help me this issue.
Thanks
Hi,
I tried creating a simple example with the help of this plugin. But it didn't work.
Can you please tell me what is it that I am doing wrong?
I am attaching the file with my ticket.
index.txt
Any help would be greatly appreciated.
Best regards,
Ashar
Getting a console error that states the plugin needs jQuery to run when loading in Wordpress. Have added
jQuery.noConflict();
(function ($) {
to the top of the script, but no joy. jQuery is working for all other plugins.
Typo on line 30, should read;
})(this, '_requestAnimationFrame');
Hi,
As seen here: https://github.com/jylauril/jquery-runner/blob/master/bower.json#L10 jquery-runner still uses a pretty old jQuery version (~1.11). This old pinned version has created a lot of problems with other jQuery plugins that use newer versions of jQuery when using it with bower
+ django-bower
.
Please, any chance of updating the dependency to jQuery 3.1.1
?
Thanks!
Hi guy,
I'm trying to use the format 00:00:00, but it's not working with me..
Here it's give an error "Uncaught TypeError: object is not a function"
Can u give me a help?
Thanks!
How can I start the runner exactly at 1PM?
In other words, how can the runner be auto trigger when the server time is 1:00:00 PM?
Hi i found tha interval not working and it is very important for a counter. Can you help me please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.