問題描述
我正在嘗試獲取一個 jquery 幻燈片來顯示來自 flickr、淡入淡出和滾動的圖像.一切正常,除了我真的需要延遲加載圖像(只是按需加載圖像).
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.cross-slide ( http://tobia.github.com/CrossSlide/ )但不幸的是,tobia 不再在插件上工作,也不想回答問題.
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.cycle 示例,其中應用了圖像延遲加載(請參閱 http://malsup.com/jquery/cycle/add3.html )是否有可能將此功能破解到交叉幻燈片的源代碼中,或者由于插件的體系結構而無法實現?在這里查看代碼:https://github.com/tobia/CrossSlide/blob/master/jquery.cross-slide.js#L131
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
推薦答案
對于尋找延遲加載"圖像的幻燈片的其他人,這里有 2 個選項:
For others looking for a slideshow that "lazyloads" images, here are 2 options:
- http://galleria.aino.se/ - 很棒的幻燈片,有很多選擇,但不是很輕量級
- http://reallysimpleworks.com/slideshow/ - 簡單,工作正常.我現在正在使用這個.
- http://galleria.aino.se/ - great slideshow, lots of options, not really lightweight
- http://reallysimpleworks.com/slideshow/ - simple, works fine. I′m using this one now.
這篇關于搜索延遲加載 jQuery 幻燈片或:hacking cross-slide的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!