質問編集履歴
1
urlリンクを設定
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
添付させて頂きました動画は
|
2
2
|
アマゾンのイメージスライダーです。
|
3
|
-
https://www.youtube.com/watch?v=L_7VHoatO4E&feature=youtu.be
|
3
|
+
[https://www.youtube.com/watch?v=L_7VHoatO4E&feature=youtu.be](https://www.youtube.com/watch?v=L_7VHoatO4E&feature=youtu.be)
|
4
4
|
|
5
5
|
画像の下に表示されるバーをドラッグすることにより
|
6
6
|
画像をスライドさせているのですが、回答者様でしたら
|
@@ -9,7 +9,7 @@
|
|
9
9
|
ご教授頂けますと幸いです。
|
10
10
|
|
11
11
|
一応、私なりに作成してみました。
|
12
|
-
https://jsfiddle.net/ghost7492/q8u4jg3c/
|
12
|
+
[https://jsfiddle.net/ghost7492/q8u4jg3c/](https://jsfiddle.net/ghost7492/q8u4jg3c/)
|
13
13
|
|
14
14
|
私は、バー要素に対してhtml5のdraggableを指定し、
|
15
15
|
ドラッグ開始時に開始点となるx座標を保存。
|