cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

Quick-add: + add another resource

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

            
              jQuery(document).ready(function () {
			var contentGalleryMLN=[
				{
					src: 'image_01.jpg',		// image url
					srct: 'image_01ts.jpg',	// thumbnail url
					title: 'image 01', 						        // thumbnail title
					ID:2
				},
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 02',
					ID:3 },
				{ src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'album 1',
					ID:103,	kind:'album' },
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'album 2',
					ID:104,	kind:'album' },
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'album 3',
					ID:105, albumID:103,	kind:'album' },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 03',
          ID:4 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 04',
          ID:5 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 05',
          ID:6 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 06',
          ID:7 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 07',
          ID:8 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 08',
          ID:9 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 09',
          ID:10 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 10',
          ID:11 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 10',
          ID:12 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 11',
          ID:13 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 12',
          ID:14 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 13',
          ID:15 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 14',
          ID:16 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 15',
          ID:17 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 16',
          ID:18 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 17',
          ID:19 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 18',
          ID:20 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 19',
          ID:21 },
				{ src: 'image_02.jpg', srct: 'image_02ts.jpg', title: 'image 20',
          ID:22 },
				{ src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1a',
					ID:23, albumID:103	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1b',
					ID:24, albumID:103	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1c',
					ID:25, albumID:103	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1d',
					ID:26, albumID:103	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1e',
					ID:27, albumID:103 },
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 1f',
					ID:28, albumID:103	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2a',
					ID:29, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2b',
					ID:30, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2c',
					ID:31, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2d',
					ID:32, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2e',
					ID:33, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2f',
					ID:34, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2g',
					ID:35, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2h',
					ID:36, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2i',
					ID:37, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2j',
					ID:38, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2k',
					ID:39, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2l',
					ID:40, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2m',
					ID:41, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2n',
					ID:42, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2o',
					ID:43, albumID:104	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2n',
					ID:44, albumID:105	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2n',
					ID:45, albumID:105	},
				{	src: 'image_03.jpg', srct: 'image_03ts.jpg', title: 'image 2o',
					ID:46, albumID:105	}
        ];
  
  jQuery("#nanoGallery").nanoGallery({
  	items: contentGalleryMLN,
    thumbnailWidth: 100,
  	thumbnailHeight: 100,
    breadcrumbAutoHideTopLevel: true,
    maxItemsPerLine: 5,
		paginationMaxLinesPerPage: 1,
    paginationDots : true,
    thumbnailHoverEffect: 'borderLighter,imageScaleIn80',
    itemsBaseURL: 'http://nanogallery.brisbois.fr/demonstration/',
		locationHash: false
  });
});
            
          
!
999px
Loading ..................

Console