javascript 搜索延迟加载 jQuery 幻灯片或:hacking cross-slide

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5412015/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 17:06:49  来源:igfitidea点击:

Searching for a Lazy Loading jQuery Slideshow or: hacking cross-slide

javascriptjqueryjquery-pluginslazy-loadingslideshow

提问by z3cko

I am trying to get a jquery slideshow to display images from flickr, fading and scrolling. Everything works fine, except I really need Lazy Loading of the images (just loading the images on demand).

我正在尝试使用 jquery 幻灯片来显示来自 flickr、淡入淡出和滚动的图像。一切正常,除了我真的需要延迟加载图像(仅按需加载图像)。

I am currently using jquery.cross-slide ( http://tobia.github.com/CrossSlide/) but unfortunately tobia is not working on the plugin anymore and also does not want to answer to questions.

我目前正在使用 jquery.cross-slide ( http://tobia.github.com/CrossSlide/) 但不幸的是 tobia 不再使用该插件,也不想回答问题。

I found an example of jquery.cycle, where image lazy loading is applied (see http://malsup.com/jquery/cycle/add3.html) is there any chance of hacking this feature into the source of cross-slide or is it not possible due to the architecture of the plugin? see the code here: https://github.com/tobia/CrossSlide/blob/master/jquery.cross-slide.js#L131

我找到了一个 jquery.cycle 的例子,其中应用了图像延迟加载(参见http://malsup.com/jquery/cycle/add3.html)是否有可能将此功能破解到交叉幻灯片的源中,或者是由于插件的架构,这是不可能的吗?看这里的代码:https: //github.com/tobia/CrossSlide/blob/master/jquery.cross-slide.js#L131

回答by Mattvic

For others looking for a slideshow that "lazyloads" images, here are 2 options:

对于正在寻找“懒加载”图像幻灯片的其他人,这里有 2 个选项:

回答by rémy

try jcarousel, it's lovley (lazyloading possible ..)

尝试jcarousel,它是 lovley(可以延迟加载..)

回答by rix

I know this was posted 2 years ago, but jcarouFredSel would work:

我知道这是 2 年前发布的,但 jcarouFredSel 会起作用:

http://coolcarousels.frebsite.nl/c/14/

http://coolcarousels.frebsite.nl/c/14/