How does PHP set the image hot zone? Hot Zone position not fixed

Source: Internet
Author: User
How does PHP set the image hot zone? Hot Zone position not fixed
Title, it's a tricky question.

Need to add the hot zone on the uploaded image, the location is not fixed, the hot zone content can be modified ...

Achieve the same effect as



Hot Zone location can be dragged with the mouse, hot zone content can be modified ...

Do you have any good ideas?
------Solution--------------------
This should be JS things ... You're supposed to be a floating div.
------Solution--------------------
This and PHP do not matter, is not what hot, is the front-end thing.
Basically create a floating layer, plus the JS effect.
Can be sent to the JS area to ask.
------Solution--------------------
The problem is that the JS area will be killed by seconds.
JS is mainly MouseDown MouseMove and MouseUp events
MouseDown the original position when the mouse clicks
MouseMove change the position of the box when the mouse moves
MouseUp a request to the server to record a new location when the mouse is released
  • 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.