change SlidesNumber position and start page counter at 0 instead 1

edit
uriel 2013-10-31 19:47:13 +02:00
parent 06078f987f
commit f1dd807f66
2 changed files with 5 additions and 4 deletions

View File

@ -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
}
/*********************************************

View File

@ -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;