a touch optimized jQuery lightbox
- Desktop:
- Firefox, Chrome, Safari, Opera, IE7+
- Mobile:
- Android Browser, Opera Mini, Firefox
- Customize the variables in
jquery.touchbox.less
, build into css. - Include the plugin and dependencies.
- Initialize the plugin by
$(jQueryObject).touchBox({options});
imagesToPreload
- Number of images to load in advance, in both directions.position
- usefixed
(default) orabsolute
positioningtouchSensitivity
- the amount of px the user has to slide with his finger to change imagestype
- can bearrows
(default) orthumbnails
- with
arrows
, you get the two neat css arrows, which can be used to change images - with
thumbnails
, pieces of neighboring images are shown and work as arrows
- with