Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Countdown timer

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!!!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Countdown timer

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Countdown timer

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 =)

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Countdown timer

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Countdown timer

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.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Countdown timer

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

Many many thanks =)

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Countdown timer

Hi Alex,

I sent you a backup file.

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Countdown timer

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

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

Countdown timer

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?

Dave Troxel
Posts: 0
Joined: Fri May 09, 2014 1:07 pm

Countdown timer

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.

Return to “Issues”