change SlidesNumber position and start page counter at 0 instead 1
This commit is contained in:
		| @@ -486,10 +486,11 @@ body { | |||||||
| 	opacity: 0.5;  | 	opacity: 0.5;  | ||||||
| 	z-index: 31; | 	z-index: 31; | ||||||
| 	width: 110px; | 	width: 110px; | ||||||
| 	bottom: 60px; | 	bottom: 30px; | ||||||
| 	right: 11px; | 	left: 11px; | ||||||
| 	font-size: 12px; | 	font-size: 12px; | ||||||
| 	text-align: center; | 	text-align: center; | ||||||
|  | 	letter-spacing: 0px | ||||||
| } | } | ||||||
|  |  | ||||||
| /********************************************* | /********************************************* | ||||||
|   | |||||||
| @@ -1791,9 +1791,9 @@ var Reveal = (function(){ | |||||||
| 			var element = dom.slideNumber; | 			var element = dom.slideNumber; | ||||||
|  |  | ||||||
| 			// change the number of the page using 'indexh - indexv' format | 			// change the number of the page using 'indexh - indexv' format | ||||||
| 			var indexString = ( indexh + 1 ).toString(); | 			var indexString = indexh; | ||||||
| 			if( indexv > 0 ) { | 			if( indexv > 0 ) { | ||||||
| 				indexString += ' - ' + indexv.toString(); | 				indexString += ' - ' + indexv; | ||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 			element.innerHTML = indexString;  | 			element.innerHTML = indexString;  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user