Đang Thực Hiện

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 [url removed, login to view] and then drops to [url removed, login to view] 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 [url removed, login to view] and at the full minute reach [url removed, login to view] 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 [url removed, login to view] 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 thêm: hard questions answer, d movement, 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, floating numbers, ajax seconds, create count

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

Mã Dự Án: #1869275

Đã trao cho:

alesix

As discussed.

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