Now there is a requirement to execute an animation on the PC page. as long as the PC starts to execute this animation, the client, or the mobile end, will also execute this animation. what should we do if there is a synchronization problem involved?

Source: Internet
Author: User
Now there is a requirement to execute an animation on the PC page. as long as the PC starts to execute this animation, the client, or the mobile end, will also execute this animation. what should we do if there is a synchronization problem involved? Now there is a requirement to execute an animation on the PC page. as long as the PC starts to execute this animation, the client, or the mobile end, will also execute this animation. what should we do if there is a synchronization problem involved? PC-side animation has a time limit. for example, if the animation is completed in 10 seconds, how can I notify the mobile terminal to start executing the animation when it starts? this is a field activity with more than 1000 people. Currently, I want to check whether the client ajax requests start on the PC. right? I hope you can give me some suggestions. thank you!


Reply to discussion (solution)

Are you sure you want to shake that type of timing and start to see who is shaking the longest of the quarter?

When writing a record table, the pc starts to record it in the table, and the value in the monitoring table on the client starts to be animated only when there is a change, but this process may not be possible for php.
Java programs or other programs may be required.

Yes, the end must be changed based on PC changes!

Are you sure you want to shake that type of timing and start to see who is shaking the longest of the quarter?

When writing a record table, the pc starts to record it in the table, and the value in the monitoring table on the client starts to be animated only when there is a change, but this process may not be possible for php.
Java programs or other programs may be required.

Yes, the end must be changed based on PC changes!

The ajax request on that page can also be used to control the number of seconds each request to query the record table and return the animation to be executed. However, poor network performance may lead to latency.

At least websockite support is required

Scoket is required for synchronization 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.