Please select To the mobile version | Continue to access the desktop computer version

Adobe Community

 Forgot password?
 立即注册
Search
Hot search: 活动 交友 discuz
View: 132|Reply: 7

Football Match Live scores timer

[Copy link]

1

Threads

5

Posts

13

Credits

Newbie

Rank: 1

Credits
13
Post time 2018-8-3 01:04:00 | Show all posts |Read mode
I am trying to get some codes for a timer on my live scores page for a football/soccer match done in DW cs6. Timer should be minutes and seconds (example 12:42) and should start when I upload the page. It should stop at 45 mins for the first half the match and go to 45+ time added (example 45+2:23). Should restart at 45 mins for the second half (example 45:00). Should stop at 90 mins and move to 90+ time added (example 90+2:23).
Reply

Use magic Report

1

Threads

53

Posts

109

Credits

Register

Rank: 2

Credits
109
Post time 2018-8-3 01:17:00 | Show all posts
There is no HTML / JS solution, for this.  This will require a server-side scripting language (such as ColdFusion, PHP, ASP, etc.) and possibly a database.

V/r,

^ _ ^
Reply Support Not support

Use magic Report

1

Threads

5

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2018-8-3 01:23:00 | Show all posts
There must be a way this can be done in DW
Reply Support Not support

Use magic Report

1

Threads

53

Posts

109

Credits

Register

Rank: 2

Credits
109
Post time 2018-8-3 01:36:00 | Show all posts
I've been a web developer for almost 18 years.  There is not any HTML / JS solution, so no it can't be done in DW.

What you describe requires a central point to be authoritative for timekeeping (a web server alone won't cut it; it would require CF, ASP, PHP, or some other server-side solution.)  Trying this with HTML / JS alone won't work because not everyone will be loading the page at the same time.

V/r,

^ _ ^

PS.  Not everyone's computer clock is synchronized, as well.

PPS.  Not everyone is in the same time zone, so you'd have to have a way of determining which time zone a user is in and modify a timer based upon that for determining when the clock should "start" and "stop".
Reply Support Not support

Use magic Report

1

Threads

5

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2018-8-3 01:40:00 | Show all posts
Thank You I will see how best I can work around this.
Reply Support Not support

Use magic Report

1

Threads

53

Posts

109

Credits

Register

Rank: 2

Credits
109
Post time 2018-8-3 02:23:00 | Show all posts
Maybe this will do what you want?   
Free Livescore - Step 1: Configure Your Livescore
Reply Support Not support

Use magic Report

1

Threads

5

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2018-8-3 02:33:00 | Show all posts
That's pretty sweet.  I kind of thought that someone would offer something like that, but didn't Google for it.  That is precisely the kind of central authoritative source I was thinking of.

V/r,

^ _ ^
Reply Support Not support

Use magic Report

1

Threads

5

Posts

13

Credits

Newbie

Rank: 1

Credits
13
 Author| Post time 2018-8-3 07:28:00 | Show all posts
Thanks for the link will definitely make use of it.
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | 立即注册

Points Rules

Archiver|手机版|小黑屋|Adobe Community  

2019-5-24 21:29 GMT+8 , Processed in 0.158705 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list