插件 jQuery.nanoGALLERY 中文API文档

🌙
手机阅读
本文目录结构

插件 jQuery.nanoGALLERY 中文API文档 https://github.com/Kris-B/nanoGALLERY






nanoGALLERY’s successor, is available: nanogallery2

nanogallery2

Please note that nanoGALLERY will continue to be maintained for fixing show-stopper bugs, but no new features should be expected.






Touch enabled, fully responsive, justified/cascading/grid layout and supporting cloud storage.

Featuring multi-level navigation in albums, combinable hover effects on thumbnails, responsive thumbnail sizes, multiple layouts, slideshow, fullscreen, pagination, image lazy load, themes, deep linking, customizable, i18n, and pulling in Flickr or Picasa/Google+/Google Photos photo albums among others.

Usage can be as easy as:

	jQuery('#elt').nanoGallery({
		kind : 'picasa',
		userID : 'YourUserID'
	});

View ChangeLog

Documentation, Demonstrations and Tutorials

Visit the nanoGALLERY homepage: http://nanogallery.brisbois.fr

Animation
Screenshot1 Screenshot2 Screenshot3

Package managers

Bower: bower install nanogallery
npm: npm install nanogallery

Usage example with images from a Flickr account

Include JS and CSS files

<!-- Add jQuery library (MANDATORY) -->
<script type="text/javascript" src="third.party/jquery-1.7.1.min.js"></script> 

<!-- Add nanoGALLERY plugin files (MANDATORY) -->
<link href="css/nanogallery.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jquery.nanogallery.js"></script>

Create a container

Put a <DIV> element in the <BODY> of your HTML. This DIV is the placeholder for the gallery.

<div id="nanoGallery1"></div>

Initialize the script

jQuery(document).ready(function () {
	jQuery("#nanoGallery1").nanoGallery({
		kind:'flickr',
		userID:'34858669@N00'
	});
});

License

nanoGALLERY is licensed under CC BY-NC 3.0.
Only for personal, non-profit organizations, or open source projects (without any kind of fee), you may use nanoGALLERY for free.

Requirements

  • Javascript must be enabled
  • jQuery 1.7.1

Thanks

Testing services provided by BrowserStack

AXIHE / 精选资源

浏览全部教程

面试题

学习网站

前端培训
自己甄别

前端书籍

关于朱安邦

我叫 朱安邦,阿西河的站长,在杭州。

以前是一名平面设计师,后来开始接接触前端开发,主要研究前端技术中的JS方向。

业余时间我喜欢分享和交流自己的技术,欢迎大家关注我的 Bilibili

关注我: Github / 知乎

于2021年离开前端领域,目前重心放在研究区块链上面了

我叫朱安邦,阿西河的站长

目前在杭州从事区块链周边的开发工作,机械专业,以前从事平面设计工作。

2014年底脱产在老家自学6个月的前端技术,自学期间几乎从未出过家门,最终找到了满意的前端工作。更多>

于2021年离开前端领域,目前从事区块链方面工作了