2017 © Pedro Peláez
 

contao-module zixswipebox

Gallery for Contao with swipe gestures. Optimize Contao gallerys for smartphones and tablets.

image

ixtensa/zixswipebox

Gallery for Contao with swipe gestures. Optimize Contao gallerys for smartphones and tablets.

  • Tuesday, August 11, 2015
  • by ixtensa
  • Repository
  • 0 Watchers
  • 0 Stars
  • 18 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

README

!!! IMPORTANT NOTICE !!!, (*1)

  • The parts of files are changed for the Contao optimization
  • For original files or more details visit: http://brutaldesign.github.io/swipebox/, (*2)

  • Version: Extension include scripts only for Contao <3.2, (*3)

What is this repository for?

  • Gallery with swipe gestures for tablets and smartphones

How do I get set up?

  1. Copy folder to /system/modules/.
  2. Choose in page layout jQuery-Templates j_swipebox. 2.1. If you check j_swipebox you musst remove the standad j_colorbox from your layout

How it's work?

The files /system/modules/assets/js/jQuery.swipebox.js or /system/modules/assets/js/jQuery.swipebox.min.js included automaticaly if device are a Mobile, Android or IOS, (*4)

Template /system/modules/templates/j_swipebox.html5 change all images with a-tags and data-lightbox attributes. See code below All images with a-tag in .ce_gallery, .ce_image or .image_container_ will open in fullsize and you can use the swipe gestrues to slide images left->right or right->left., (*5)

(function($) {
    $('.ce_gallery a,.ce_text a[data-lightbox],.ce_image a[data-lightbox],.image_container a[data-lightbox],a[data-lightbox]').swipebox({
        useCSS : true, // false will force the use of jQuery for animations
        useSVG : true, // false to force the use of png for buttons
        initialIndexOnArray : 0, // which image index to init when a array is passed
        hideCloseButtonOnMobile : false, // true will hide the close button on mobile devices
        hideBarsDelay : 3000, // // delay in ms(3000) before hiding bars on desktop, set value on false to show allways
        videoMaxWidth : 600, // videos max width
        beforeOpen: function() {}, // called before opening
        afterOpen: null, // called after opening
        afterClose: function() {}, // called after closing
        loopAtEnd: false // true will return to the first image after the last image is reached
    });
})(jQuery);

Who do I talk to?

  • Hakan Havutcuoglu
  • info@havutcuoglu.com

The Versions

11/08 2015

dev-develop

dev-develop https://bitbucket.org/ixtensa/zixswipebox

Gallery for Contao with swipe gestures. Optimize Contao gallerys for smartphones and tablets.

  Sources   Download

LGPL-3.0+

The Requires

 

by Hakan Havutcuoglu

extension contao swipe gallery mobile gallery smartphone gallery mobile gallery with swipe gestures swipebox

11/08 2015

dev-master

9999999-dev https://bitbucket.org/ixtensa/zixswipebox

Smartphone gallery for Contao. Optimize Contao gallerys for smartphones/mobile devices and add swipe gestures.

  Sources   Download

LGPL-3.0+

The Requires

 

by Hakan Havutcuoglu

extension contao swipe gallery mobile gallery smartphone gallery mobile gallery with swipe gestures

11/08 2015

1.1.0

1.1.0.0 https://bitbucket.org/ixtensa/zixswipebox

Smartphone gallery for Contao. Optimize Contao gallerys for smartphones/mobile devices and add swipe gestures.

  Sources   Download

LGPL-3.0+

The Requires

 

by Hakan Havutcuoglu

extension contao swipe gallery mobile gallery smartphone gallery mobile gallery with swipe gestures

24/07 2015

1.0.0

1.0.0.0 https://github.com/ixtensa/zixswipebox

Smartphone gallery for Contao. Optimize Contao gallerys for smartphones/mobile devices and add swipe gestures.

  Sources   Download

LGPL-3.0+

The Requires

 

by Hakan Havutcuoglu

extension contao swipe gallery mobile gallery smartphone gallery mobile gallery with swipe gestures