vicoyeh / jSlider

jQuery-plugin for photo display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jSlider

jSlider is a simple, light-weighted jQuery plugin for photo display. Currently, jSlider is a static photo gallery that displays 5 photos.

demo: http://vic317yeh.bol.ucla.edu/jslider/

##Dependencies jQuery and Bootstrap

##How to use? jSlider is a very simple tool for photo display.

After linking jQuery, Bootstrap, jSlider.css and jSlider.js, all you need to do is putting up the following lines.

<ul id="jGallery">
	<li><img src="sample-pics/1.jpg"/></li>
	<li><img src="sample-pics/2.jpg"/></li>
	<li><img src="sample-pics/5.jpg"/></li>
	<li><img src="sample-pics/3.jpg"/></li>	
	<li><img src="sample-pics/4.jpg"/></li>
</ul>


<script>
$(document).ready(function(){
	$('#jGallery').jSlide();
});
</script>

About

jQuery-plugin for photo display


Languages

Language:JavaScript 76.2%Language:CSS 23.8%