Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要一个简单的水平幻灯片用于一个网站,它的功能就像我在图像上画得很差:在此处输入图像描述
因此,当您按下小箭头时,页面不会加载,而只是更改它在屏幕上的位置......
只需给我一些页面示例,或者正确提出我的问题(因为我不知道如何调用这种滑动)
这通常通过 jQuery 和 CSS 定位来完成。
CSS:
.rightslide { position: fixed; top: 0; left: 90%; }
并将其滑入:
$('.rightslide').animate({left: "10%"});
您还可以查看 JQuery Mobile 面板:
http://view.jquerymobile.com/1.3.2/dist/demos/widgets/panels/
示例在页面本身。