Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feature request #10

Open
ghost opened this issue Jan 3, 2014 · 5 comments
Open

New feature request #10

ghost opened this issue Jan 3, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Jan 3, 2014

please add

please add random function for incremental and delay.

so if i do something like this

$( '.tick' ).ticker(
{
incremental: random(1,9)
delay: random(100,900)
separators: true
});

incremental value and delay will random picked from the min and max values.

so i can use it as its showing some live feed of counts of new members/total earnings etc.

hope this helps.

@jkintscher
Copy link
Member

That’s an interesting idea. Mind taking a stab at this and opening a pull request for it?

@ghost
Copy link
Author

ghost commented Jan 3, 2014

err, i am not that good in javascript.

gorork added a commit to gorork/tick that referenced this issue Oct 26, 2014
What do you think, if Delay would be an array?

If there is 1 number in the array, the delay will be equal to this number.
If there are two numbers in the array, the delay would get random number in between.
@gorork
Copy link

gorork commented Oct 26, 2014

What do you think about passing an array to Delay?

@RaymondChee
Copy link

Hi all, is there a way to have a random incremental like rawmaterials mentioned? I wasn't sure if I missed it. Thanks

@jkintscher
Copy link
Member

Hi @RaymondChee, you can use the fork from gorork for now (take a look at #13) to achieve this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants