[Movecommons-commits] r318 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Wed May 9 16:11:07 CEST 2012


Author: mgallegos
Date: 2012-05-09 16:11:07 +0200 (Wed, 09 May 2012)
New Revision: 318

Modified:
   trunk/src/jquery.bxSlider.js
Log:


Modified: trunk/src/jquery.bxSlider.js
===================================================================
--- trunk/src/jquery.bxSlider.js	2012-05-09 14:01:59 UTC (rev 317)
+++ trunk/src/jquery.bxSlider.js	2012-05-09 14:11:07 UTC (rev 318)
@@ -17,7 +17,7 @@
 				
 		var defaults = {
 			mode: 'horizontal',									// 'horizontal', 'vertical', 'fade'
-			infiniteLoop: true,									// true, false - display first slide after last
+			infiniteLoop: false,									// true, false - display first slide after last
 			hideControlOnEnd: true,						// true, false - if true, will hide 'next' control on last slide and 'prev' control on first
 			controls: true,											// true, false - previous and next controls
 			speed: 500,													// integer - in ms, duration of time slide transitions will occupy
@@ -1140,6 +1140,8 @@
 		 */		
 		function checkEndControls(){
 				alert('currentSlide: '+currentSlide+" firstSlide: "+firstSlide+" lastSlide"+lastSlide);
+				alert(options.infiniteLoop); 
+				alert(options.hideControlOnEnd);
 			if(!options.infiniteLoop && options.hideControlOnEnd){
 				// check previous
 				alert('currentSlide: '+currentSlide+" firstSlide: "+firstSlide+" lastSlide"+lastSlide);




More information about the Movecommons-commits mailing list