dir2Slider.js

Download .zip Download .tar.gz View on GitHub

Description

dir2Slider.js scans in a defined directory for images. All available images will be asynchronously downloaded and append to the slider. Based on jQuery.
[ MIT LICENSE ]

    Features:
  • Search in a directory all images [1.jpg - n.jpg]
  • Asynchronously Image download [Ajax]
  • Work with all browser accepted image file format
  • Show the shown number of the slide
  • Mouse controll adjustable
  • Auto slide function
  • Arrow Key Control
  • Size is adjustable

Example


HTML

<div id="dir2Slider"></div>

JavaScript

dir2Slider({
	path : "images/example/",
	fileExtension : ".jpg",
	height : 440,
	width : 620,
	slideNumbers : false,
	arrowKeyControl : true,
	boxControl : true,
	autoSlideTime : 0
});