摘要
无论是在电脑端还是手机端的网页,无论是手机APP还是各种APP内嵌的小程序,主题banner部分都有轮播图,轮播图是一种观赏性强的信息展示方式。轮播图主要是实现周期性切换图片的效果,其中轮播图中的焦点导航可以提示和控制当前播放的图片。同时还可让用户通过箭头实现上一张和下一张图片的控制效果。本文使用HTML5、CSS3和JavaScript技术来实现。是综合性较强的案例,希望为网站设计人员提供一种思路。
No matter on the web page of the computer or mobile phone,no matter on the mobile APP or the mini programs embedded in various APPs,the theme banner has a rotation chart.The rotation chart is a highly ornamental way to display information.The rotation chart is mainly used to realize the effect of periodically switching pictures.The focus navigation in the rotation chart can prompt and control the currently playing pictures.At the same time,the user can control the previous and next pictures through the arrows.This article uses HTML5,CSS3 and javascript technology to implement.It is a comprehensive case,hoping to provide a way of thinking for website designers.
作者
赵素萍
杨璐
康晶晶
Zhao Suping;Yang Lu;Kang Jingjing(School of Big Data,Jinzhong College of Information,Jinzhong 030800;School of Information Engineering,Jinzhong College of Information,Jinzhong 030800)
出处
《现代计算机》
2022年第19期87-90,100,共5页
Modern Computer
关键词
轮播图导航
焦点
箭头
carousel map navigation
focus
arrow