javascript jquery mobile中的图片库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7494915/
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-26 00:18:00  来源:igfitidea点击:

Image gallery in jquery mobile

javascriptjquery-mobilecordova

提问by Ullas

I am new in jquery mobile.i have an array in which i have stored images link from server.i want to display these images in a image gallery using jquery mobile.please help.Any help will be appreciated.

我是 jquery mobile 的新手。我有一个数组,我在其中存储了来自服务器的图像链接。我想使用 jquery mobile 在图片库中显示这些图像。请帮助。任何帮助将不胜感激。

回答by PhuocLe

I recommend you used PhotoSwipe. It a cool photo web framework.

我建议你使用PhotoSwipe。它是一个很酷的照片网络框架。

回答by Mayur Birari

You can use JQtouch Photo gallery plugin-

您可以使用 JQtouch 照片库插件 -

http://code.google.com/p/jqextensions/wiki/JQTouchPhotoGallery

http://code.google.com/p/jqextensions/wiki/JQTouchPhotoGallery

Demo - here.

演示 -在这里。

If you don't like JQtouch you can used-

如果您不喜欢 JQtouch,您可以使用-

PhotoSwipe lib- http://www.photoswipe.com/

PhotoSwipe 库- http://www.photoswipe.com/

Demo - here.

演示 -在这里。

Demo Code- here.

演示代码-在这里。

回答by Christoph Baudson

Take a look at the Pagination plugin by FilamentGroup. This is especially designed for jQuery Mobile

看看 FilamentGroup 的 Pagination 插件。这是专为 jQuery Mobile 设计的

http://filamentgroup.com/lab/jquery_mobile_pagination_plugin/

http://filamentgroup.com/lab/jquery_mobile_pagination_plugin/

Demo here

演示在这里

http://filamentgroup.com/examples/jqm-pagination/demo/

http://filamentgroup.com/examples/jqm-pagination/demo/