Page 2 of 3

Countdown timer

Posted: Tue Jan 28, 2014 7:36 pm
by Alex GG

Maryna, please clarify what you mean; " If you want we can create test project for you"
I really want to have this implemantation working, I don ́t know nothing about closure in JS, I ́ve read some topics, but I dont think I can manage by myself.

And what about the share button question? It ́s also outside the scope?

Thanksss!!!


Countdown timer

Posted: Tue Jan 28, 2014 7:42 pm
by Kateryna Grynko

Alex,

You select component by id. This id must be unique, and you duplicate it..
You should replace this code in mapping:pre$('#clockk').timeTo(new Date(value));/preWith the following:pre$('.clockk').timeTo(new Date(value));/pre
And on HTML component replace precode<div id="clockk"><&#47;div>/code/preWith:precode<div class="clockk"><&#47;div>/code/pre


Countdown timer

Posted: Tue Jan 28, 2014 11:37 pm
by Alex GG

Thanks Katya! That fixed the problem!!!
But still have some issues...
I have change the expiration dates in DB like this:
Image

and have change mapping (with the code you seggested), like this:

Image

and the result is that every field has the same exp date...it ́s suppose to have a day of difference each...
Image

Am I ́m doing something wrong?

Hope you can guide me, we ́re pretty close to solve this =)


Countdown timer

Posted: Wed Jan 29, 2014 3:56 am
by Alex GG

Katya, I ́m still trying to get it fix...
Even if I pass the html data from rest service: Image

Still got the same result!!!

Image


Countdown timer

Posted: Wed Jan 29, 2014 1:55 pm
by Maryna Brodina

Hello Alex! We have a test project for you, please send us request to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we can send you project backup. Please pay attention on cdtdStart function in JS_Countdown JS file. You would need to figure it out on your own.


Countdown timer

Posted: Wed Jan 29, 2014 3:43 pm
by Alex GG

Hi Maryna,,I send you a request (mail) to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a

Many many thanks =)


Countdown timer

Posted: Wed Jan 29, 2014 3:57 pm
by Kateryna Grynko

Hi Alex,

I sent you a backup file.


Countdown timer

Posted: Thu Jan 30, 2014 5:45 am
by Alex GG

Thanks Katya!!
You made my day ..You and the Team are great!!
That ́s how it looks now :
Image


Countdown timer

Posted: Sun May 11, 2014 6:05 pm
by Dave Troxel

I need to do this, but I need a start, stop, and two different buttons to capture timestamps along the way without actually stopping the timer until the STOP button is pushed. Can anyone explain that to me please?


Countdown timer

Posted: Sun May 11, 2014 6:08 pm
by Dave Troxel

Please create a test project for me that will utilize the stopwatch with a start, stop, and two incremental timestamp capture buttons that does not stop the time until the actual Stopwatch button is pushed. At that point I need to capture the total time as well. That possible? thnx.