background preloader

Sliders & galleries

Facebook Twitter

Create a Responsive Photo Gallery with this plugin and the Bootstrap Framework | Michael Soriano. Update 12/13/2015: I’ve updated the plugin to support linking to a different image when shown in the modal box. Continue reading below for instructions. Update 11/14/2015: This code for this tutorial have been converted into a jQuery plugin. This means that it’s now easier to create a responsive photo gallery. The original tutorial is still available below (where is says “Original Tutorial”). Note that you don’t need to follow it if you’re using the plugin. But it’s good to know the inner workings of Bootstrap regardless. View DemoView in Github How to use the Plugin: Download the files from Github. Once that’s included, simply create the unordered list for your images.

<ul class="first"><li><img src="images/photodune-174908-rocking-the-night-away-xs.jpg"></li><li><img src="images/photodune-287182-blah-blah-blah-yellow-road-sign-xs.jpg"></li><li><img src="images/photodune-460760-colors-xs.jpg"></li> ... Then it’s time to initialize our plugin and pass in the options. Well you’re in luck. EagerImageLoader. Bringins. Bringins is a jQuery plugin to show contents on a webpage as an animated page. These page will be positioned 'fixed' with scrollable data. You can have your custom CSS content to appear in the bringins pages. This plugin allows you to choose from three intoduction animations for the page whether to animate the page on the left, right or center of the webpage.

The plugin also provides options to specify the color of the page, width, z-index, margin and color of the close button for the page. Specify an intoduction animation for the bringins pages Specify the width of the bringins page Choose background color for the bringins page Define margin for the content in the page Choose a color for the close button of the page Choose the z-index for the page, so that you can define whether a particular bringins page should always appear above an other bringins page or other elements on that webpage Define your custom style for the contents which will be included in the plugin element. jQuery Image Slider/Slideshow/Carousel/Gallery Bootstrap+html+javascript TOUCH SWIPE & Responsive. Carousel With Variable Elements Widths | Lemmon jQuery. Lemmon Slider is a jQuery-based carousel that supports slided elements with variable widths. It's lightweight and very simple to use.

Features Can slide any kind of content ULs, OLs, DIVs, etc. Supports variable elements widths Sliding by one element or by a page Supports looping Supports infinity NEW (since v0.2) Tested in Firefox, Chrome, Safari, Opera, IE6+ Download Full: tar.gz | zip Examples / How To Use Basic <! // Necessary JS window.onload = function(){ $( '#slider1' ).lemmonSlider(); } Slide To Last Just slide to the last element. Autoplay Infinite Carousel Options Known Issues Infinite slider acts wierd sometimes when sliding by a page Release Notes Features & Enhancements Added infinity Bug Fixes Support for Internet Explorer 7 Added destroy method Initial release Feedback.

Superslides - A fullscreen slider for jQuery. Pointy Slider in CSS and jQuery. A slideshow with sliding-in panels that unveil new, fixed background images. Browser support ie Chrome Firefox Safari Opera 9+ Today’s resource is a simple, responsive slider, with a sharp design and an interesting motion effect: with each new slide item, a sliding-in block of content covers the old one, and unveils a new image.

Inspiration: shft.run Images: unsplash.com Creating the structure The HTML structure is composed by two main elements: a ul.cd-slider for the slides, and a ol.cd-slider-navigation for the slider navigation; both are wrapped inside a div.cd-slider-wrapper. Note that the ol.cd-slider-navigation element is not directly inserted in the HTML but created using jQuery. Adding style On small devices (viewport width smaller than 900px), the slider structure is pretty straightforward: the .cd-slider element has a relative position while its children <li> have an absolute position, with a top and left of zero.

Events handling. Material Photo Gallery. Cycle2 Demos. You are encouraged to view the source of these demos to understand the power and flexibility the Cycle2 brings to the table. Getting Started How to get started with simple, basic slideshows. Adding Slides How to add slides to a running slideshow. Auto Height How to leverage Cycle2's auto-height support. Bookmarkable Slides How to leverage Cycle2's data-cycle-hash attribute to have bookmarkable slides. Captions How to add captions to your slideshow. Carousel Pager Two synchronized slideshows using a carousel pager and prev/next anchors. Centered Slides How to center slides horizontally and vertically (using Cycle2's center plugin).

Commands How to issue commands to a running slideshow and how to bind arbitary elements to issue those commands (pause, resume, stop, goto, etc). Continuous How to have a continuously moving slideshow. Image Loader How to use Cycle2's image loading facilities in order to delay the start of a slideshow until some or all images have been loaded. Manual Fx Nested Slideshows Overlays. Examples | Responsive jQuery Slider | bxSlider. Ever since releasing v4.0, which introduced responsive behavior, the carousel mode (displaying / moving multiple slides) has been the most misunderstood, troublesome aspect of the slider. Proper use of the settings required a secret knowledge of the underlying codebase, and did not allow for intuitive configuration.

Plainly put - the carousel config was poopy. No longer! In version 4.1 the carousel functionality and settings have been re-worked to function in a straight forward, intuitive manner. Quick glance Example #1: Standard responsive carousel In order to setup a responsive carousel, we need to supply three values: slideWidth maxSlides minSlides Go ahead and resize your browser from very large, to very small. Let's disect each of the settings. slideWidth When telling a horizontal slider to display more than one slide, we need to supply a width for which the slides should use.

Again, the slider container will always recieve a max-width of: slideWidth * maxSlides. MinSlides / maxSlides. Regal-parallax régaloeb. Ah, d'accord, le regal-parallax, c'est le truc qui fait mal aux yeux et qui donne envie de vomir... Background L'image de fond de chaque bloc avec classe "regal-parallax" et data-bg="1" se déplace en fonction du scroll. les images de background doivent évidemment être plus grandes que les conteneurs regal-parallax, sinon "ça marche moins bien" (à lire avec la voix de Bourvil).

L'attribut "data-sens" détermine le sens de déplacement : data-sens="1" => de 0 à 100%. data-sens="-1" => de 100 à 0% L'attribut "data-axe" détermine le mouvement : data-axe="horiz" => de gauche à droite. data-axe="vertic" => de haut en bas. data-axe="both" => les deux. L'attribut "data-depth" applique un ratio au pourcentage : data-depth="1" => de 0 à 100%. data-depth="0.5" => de 0 à 50%. data-depth="2" => de 0 à 200%. etssétéri, etssétéra <div class="regal-parallax" data-bg="1" data-sens="1" data-axe="horiz"> Eléments contenu dans le bloc "regal-parallax" Mise en place Merci qui ? Merci moi. Horizon Swiper. Cloud 9 Carousel: JS / HTML5 / CSS3. Introduction.js.

Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests. This guide is running against Jasmine version 2.3.0. Standalone Distribution The releases page has links to download the standalone distribution, which contains everything you need to start running Jasmine. Suites: describe Your Tests A test suite begins with a call to the global Jasmine function describe with two parameters: a string and a function. Specs Specs are defined by calling the global Jasmine function it, which, like describe takes a string and a function. GreenSock Tutorial - How To Create A Simple Slideshow.

We’ve covered the fundamentals of GreenSock and moved a few boxes using TweenLite and TimelineLite in the previous GreenSock tutorials. But lets be honest, how often do you need to move a box on your real life projects? In this tutorial you’ll learn how to create a simple image slider using GreenSock’s TweenLite and TimelineLite. The effects and animations in this tutorial are inspired by 2 great websites – heartkids.co.nz and fixedgroup.com, credit to the talented teams behind them. What you’ll learn How to structure HTML and CSS for a fullscreen layoutHow to play GreenSock timelines based on user interactionHow to create a cool tilt effect Video Screencast I am planning to record this tutorial as a video screencast and publish it on my YouTube Channel, subscribe to it to be notified.

Ready to get your hands dirty with GreenSock? I also assume that you already know what GreenSock is. 1. Firstly we’ll create our structure in the index.html. This makes them cover only half of the screen. 2. 3. 4. Responsive jQuery Pop Up Gallery Demo Example 2. jQuery Image Slider/Slideshow/Carousel/Gallery Bootstrap+html+javascript TOUCH SWIPE & Responsive. PleaseWait | A Loading Page for your SPA by Pathgather. To Use Step 1: Install bower install please-wait npm install please-wait Step 2: Include in your HTML Include the please-wait.css file in your <head> tag/in your normal workflow.

You can include the please-wait.js file at the end of your body, but above your other <script> tag(s) if you like. This allows you to use PleaseWait immediately and show a loading page while the browser downloads the rest of your Javascript. Of course, this is optional. Step 3: Hide initial HTML flash Optional: If your initial template has some styled HTML by default (like a toolbar), you'll probably want to hide that, or your users could see a quick flash of your normal template, followed by the loading screen. Step 4: Show the loading screen As soon as possible in your app, call pleaseWait to trigger the loading screen. BackgroundColor - Needs to be a valid CSS color. logo - The URL to a logo to display.

Step 5: Close the loading screen Bonus Section! jQuery Sortable Photos by Gergely Lekli. jCider - The jQuery carousel that will slide your world. | Pratinav Bagla. Squeezebox Portfolio Template in CSS and jQuery. An intro block that slides out to uncover a gallery of portfolio items. Browser support ie Chrome Firefox Safari Opera 9+ We’ve been experimenting with some motion effects to build a simple portfolio template. The idea is to show a gallery of projects as a separate, secondary module, with the first block still partially visible – just one click away. This is a UX pattern we’re used to in mobile apps: if you tap on an element and it slides out, but not entirely, you know you can tap on it to bring it back. The challenge here was to make this work on bigger devices too. Here is a quick animation that shows the flow of the resource: This resource was inspired by this dribbble shot by the talented Javi Pérez. Creating the structure The HTML structure is composed by 3 main blocks: a .cd-intro-block element, containing the action button to reveal the projects slider, an unordered list (.cd-slider), which is the projects gallery/slider, and a .cd-project-content element with the single project.

Lory. Touch enabled minimalistic slider written in vanilla JavaScript Hardware accelerated transitions Usable as a jQuery plugin Options for custom easing effects infinite looping ~ carousel No compromises for fallbacks Download Here Prerequisited Html structureClass names can be changed through options <div class="slider js_simple simple"><div class="frame js_frame"><ul class="slides js_slides"><li class="js_slide">1</li><li class="js_slide">2</li><li class="js_slide">3</li><li class="js_slide">4</li><li class="js_slide">5</li><li class="js_slide">6</li></ul></div></div> Prerequisited CSS styles Single element - Fixed width [infinite] Single element - Percentage width [infinite] Single element - Fixed width [rewind] Single element - Percentage width [rewind] Variable width Multiple slides to scroll Custom easings Showing events [14:54:49,846] Event dispatched: "before.lory.init"[14:54:49,849] Event dispatched: "after.lory.init" initialize multiple similiar sliders Use it as a jQuery Plugin Local development.

Animated SVG Image Slider. LightGallery: thumbnails. jQuery Image Player. This is a rewrite by Josep Llodrà of ImagePlayer plug-in originally written by Kelli Shaver. It is a player/slideshow that looks and works similarly to a conventional video player. You can play/pause, go to the beginning, go to the end, click different points on the scrubber to jump back and forth, and you can enable an option that will pause the playback while hovering over the image. Images are scaled automatically to fit in the player. You can also switch to full-screen. Captions are supported. Works perfectly in chrome/safari/firefox, and pretty well in IE. Github project page Example Another example Running at 12 frames per second. Wind (m/s) - 2012/03/08 00:00 Download git clone Grab the zip file or the tarball.

Smooth Gallery - Demo by Kevin Thornbloom. A 3KB script to generate a slick paginated gallery & lightbox viewer. Oh, and it's fully responsive. Details & Download. Chocolat->Getting started(); /* a jQuery Lightbox plugin for photographers */ Smoothslides Demo. jQuery Hero Slider. A full-width, responsive and easy to customize slideshow. Browser support ie Chrome Firefox Safari Opera 9+ It is a common approach to fill in the intro section of a website with a slideshow: you’re trying to show the users as much as you can above the fold, yet you want to deliver this information in an organized and clean way. Therefore we built for you a ready-to-use jQuery slider, with some built in options like video/image backgrounds and different text alignments. In an attempt to increase user engagement, we replaced the “navigation arrows” with buttons.

The difference is: buttons have a title, a hint about what kind of content to expect. Arrows just tell users “you can switch slide”. Assets: Icons by NucleoImages by PicjumboiMac & Macbook mockup by Jozef MakiPhone mockup by JustDVideo by Mazwai Creating the structure Adding style For the .cd-half-width elements, for example: Events handling. PAIO-CO-KR/carousel-3d. Swiper - Most Modern Mobile Touch Slider. Gridslide.js. Flickity · beta. MadLittleMods/jquery-carouselss · GitHub. Vvvmax/unitegallery. Arnaudleyder/magneticmediajs · GitHub. Straydogstudio.github.io/film_roll/ Gix075/donkeyGallery. Examples - CSS vs jQuery transitions. ItemSlide - jQuery plugin for a touch enabled carousel.

Chocolat - Demonstration - a Responsive jQuery Lightbox plugin for photographers. Jqx-Media-Slider by Jigar Dafda. jQuery Content Slider | Responsive jQuery Slider | bxSlider. CarouFredSel - Dev7studios. Sequence.js and Sequence Themes. Nivo Slider™ - Dev7studios. Camera | a free jQuery slideshow by Pixedelic. 15+ Best jQuery Screen Full Width Slider. Slider Code, Development Doc for Web Developer, Website Design, Website Builder. Sequence.js and Sequence Themes. LushSlider. Sequence.js and Sequence Themes. AyaSlider - jQuery flexible slider plugin. Cycle2.

FractionSlider: jQuery parallax Slider Plugin | jacksbox.design. Unslider — the super-tiny jQuery slider. Demo.