[英]jquery supersized plugin - allow image to scroll with site
I'm developing a site and the client has requested we use the supersized plugin to display a gallery of images - which is fine, HOWEVER the have requested that the background image scrolls with the site rather than being fixed to the browser window. 我正在开发一个网站,并且客户要求我们使用超大型插件来显示图像库-很好,但是要求背景图像随网站滚动而不是固定在浏览器窗口上。 Something like this - http://www.surfcampinportugal.com/ .
这样的东西-http: //www.surfcampinportugal.com/ 。
I've tried amending my CSS (changing position: fixed to absolute) but nothing seems to achieve this effect. 我尝试过修改CSS(更改位置:固定为绝对值),但似乎没有任何效果。
Site is on my local server at the moment but I'm using supersized 3.2 with a fade transition - http://buildinternet.com/project/supersized/slideshow/3.2/demo.html 该站点目前在我的本地服务器上,但是我正在使用带有渐变过渡的超大3.2版本-http: //buildinternet.com/project/supersized/slideshow/3.2/demo.html
Any pointers/ideas would be VERY welcome. 任何指针/想法都将非常受欢迎。
Thanks 谢谢
这是一个古老的问题,但是您可以在CSS中通过更改所有位置来更改它:fixed to position:absolute;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.