This website is pure HTML+CSS+javascript website.
HTML:
CSS: Box Model, Web-font,Icons, Box float
https://github.com/tianlinjill/Online-Sale-website/blob/main/upload/HomePage.PNG
https://github.com/tianlinjill/Online-Sale-website/blob/main/upload/phonePage.PNG
- added a Throttle valve to control the animation, only after the animation finished users could do next animation.
step a) Clone the first image and appended to the last position.
step b) Once the current image is the cloned image. if click the arrow button to show the next picture, we do not use the animator, instead change the ul's left to zero. since it is really fast. customer would not notice!
-
Mouse enter could show the arrow icons, mouse lease could hidden the arrow icons.
-
Circles would create by js and the number is according to the number of images.
-
Click the right arrow in focus image could make the current images move to left and show the next image, click the left arrow could make the current image move to right, and show the previous image.
-
Images could change automatically. mouseenter to the image would stop the image change, and mouse leave could make images continue change.
-
Circles changed according to the images change.
-
Click listed circles could control the image to move accordingly.