Hash position.


zero three five seven ten

Descripton

URLhashListener option is listening for url hash change and is looking for slide with the same data name e.g. data-hash="zero"

Also startPosition option accept string: 'URLHash'. This will load coresponding item on startup. Browser history back button is also affected.


//Javascript

var owl = $('.owl-carousel'); // save reference to variable

owl.owlCarousel({
	items:4,
	loop:true,
	center:true,
	margin:10,
	URLhashListener:true,
	startPosition: 'URLHash'
});