定位图像地图以移动鼠标移动

时间:2016-04-05 07:16:37

标签: javascript jquery html jquery-animate

我希望在mousemove event上为图像的不同部分添加动画效果。我将图像划分为4个部分,如下所示

<map name="Map" id="Map">
    <area alt="" title="" href="#" shape="poly" coords="58,158,304,188,224,268" />
    <area alt="" title="" href="#" shape="poly" coords="714,62,724,59,721,74,715,178,696,168,676,155,652,150,635,150,762,36" />
    <area alt="" title="" href="#" shape="poly" coords="264,352,185,478,444,356,294,378" />
    <area alt="" title="" href="#" shape="poly" coords="720,209,867,243,418,133,458,162,455,167" />
    [...]
</map>

这些部分是可点击的,但我如何单独定位它们并移动它们我需要帮助这个

0 个答案:

没有答案
相关问题