Đã hoàn thành

123109 client side count down

The goal of this script is to read a number from a page element every X seconds and create a "count-down" effect.

On this page there is a number which will update periodically via AJAX: [url removed, login to view]

This may happen randomly throughout the day (at present this happens on average 1500 times a day). If you go onto this page a wait a few minutes you should see this number reduce. The problem is that this reduction is hard to notice.

The goal is to create a greater sense of downward movement via a client side script. For example if the number X starts at 100.9988 and then drops to 100.9968 a minute later, then we can fill that minute with a more gradual reduction of X (from the clients point of view), this number could be Y. This means that at 30 seconds Y would be 100.9978 and at the full minute reach 100.9968 iterating through each possible number on the way. An even greater sense of movement could be achieved if another decimal place were added to X so that we start with 100.99880 and finish with 199680 (as this might be desirable the script should be able to deal with relatively large floating numbers).

As you would be taking a sample of X every 30 seconds or so the actual movement of X will be unpredictable, of course it could be entirely static during this time, in which case Y would also have to remain static.

Hopefully this is quite clear to everyone, I'd be happy to answer any questions.

Kĩ năng: Bất kì công việc gì, HTML, Javascript

Xem nhiều hơn: hard questions to answer, deal of the day script, deal a day script, d movement, side side, page element, javascript client, javascript movement effect, ajax sample read, ajax notice script, javascript movement, element effect, number count, day count, minute seconds, randomly via, count number, client side, crowcreation, ajax client side, client side script, javascript day view, clear case ajax, script day ajax, start deal day

Về Bên Thuê:
( 30 nhận xét ) dorking, surrey, United Kingdom

ID dự án: #1869275

Được trao cho:


As discussed.

$60 USD trong 1 ngày
(62 Đánh Giá)