Browse Source

change SlidesNumber position and start page counter at 0 instead 1

uriel 11 years ago
parent
commit
f1dd807f66
2 changed files with 5 additions and 4 deletions
  1. 3 2
      css/reveal.css
  2. 2 2
      js/reveal.js

+ 3 - 2
css/reveal.css

@@ -486,10 +486,11 @@ body {
 	opacity: 0.5; 
 	z-index: 31;
 	width: 110px;
-	bottom: 60px;
-	right: 11px;
+	bottom: 30px;
+	left: 11px;
 	font-size: 12px;
 	text-align: center;
+	letter-spacing: 0px
 }
 
 /*********************************************

+ 2 - 2
js/reveal.js

@@ -1791,9 +1791,9 @@ var Reveal = (function(){
 			var element = dom.slideNumber;
 
 			// change the number of the page using 'indexh - indexv' format
-			var indexString = ( indexh + 1 ).toString();
+			var indexString = indexh;
 			if( indexv > 0 ) {
-				indexString += ' - ' + indexv.toString();
+				indexString += ' - ' + indexv;
 			}
 
 			element.innerHTML = indexString;