私はSVGパスを持っています:
<path d="M124 442 L124 442 L166 393 L162 332 L200 251 L179 76" stroke="red" stroke-width="2" fill="none" fill-opacity="0.1"></path>
そして、「次へボタン」をクリックすると、DIV 要素がこのパスに沿って移動するようにします。
それは次のようなものです:
*startpoint (beginning of the path) + DIV element
*click next-button* + DIV element moves to station 1
*station 1
*click next-button* + DIV element moves to station 2
*station 2
*click next-button* + DIV element moves to the end of the path
endpoint (end of the path)
どうすればそれができるか考えている人はいますか?