Now there is a need for a PC-side page to perform an animation as soon as the PC starts to perform this animation then the client is also the mobile side to perform this animation here's a synchronous problem.

Source: Internet
Author: User
Now there is a need for a PC-side page to perform an animation as soon as the PC starts to perform this animation then the client is also the mobile side to perform this animation here's a synchronous problem. PC-side animations have time limitations such as 10-second animation completion then how do I go to notify the mobile side to start performing this animation? This is a live event with a population of more than 1000 people. The current thinking is that the client Ajax request PC-side whether or not to start don't know right I hope you give me a little look suggestions thank you!


Reply to discussion (solution)

You're not shaking that type of timing start to see who shakes the quarterly strip the longest kind of

Write a record table The PC starts with a record in the table, and then the value inside the client monitoring table starts to animate only if it changes, but this process PHP may not be able to do
Java programs or other programs may be required to mate.

Yes, the end depends on the PC changes!

You're not shaking that type of timing start to see who shakes the quarterly strip the longest kind of

Write a record table The PC starts with a record in the table, and then the value inside the client monitoring table starts to animate only if it changes, but this process PHP may not be able to do
Java programs or other programs may be required to mate.

Yes, the end depends on the PC changes!

On that side of the page Ajax requests can also be JS control every number of seconds to request to check the record table and then return to the execution animation, but the network is poor may have a delay.

At least websockite support required

Scoket support is required to synchronize on both sides.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.