- 全屏轮播的原理是利用(left:-width * num),width的宽度是整个屏幕的宽度。有自动定时切换图片,点击切换图片,暂停切换图片等功能。
- 返回顶部的功能是利用窗口的高度和滚动条的高度,当滚动条的高度大于窗口的高度时,GoTop按钮出现,点击将滚动条的高度置为0,GoTop按钮消失。
- 使用jQuery的jsonp进行跨域,获取新浪微博的数据接口,然后利用瀑布流的方式排版布局。
YangGoldDragon/requirejs
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published