minor fixes for progress bar
This commit is contained in:
parent
994f984452
commit
723ff739f6
|
@ -62,6 +62,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateProgress() {
|
function updateProgress() {
|
||||||
|
if(!progress) return;
|
||||||
progress.style.width = (100/(slideList.length-1) * hashList[url.hash]).toFixed(2) + '%';
|
progress.style.width = (100/(slideList.length-1) * hashList[url.hash]).toFixed(2) + '%';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -324,7 +324,7 @@ A {
|
||||||
z-index:1;
|
z-index:1;
|
||||||
float:left;
|
float:left;
|
||||||
height:0.2em;
|
height:0.2em;
|
||||||
background:#CCC;
|
background:#EEE;
|
||||||
}
|
}
|
||||||
.progress DIV {
|
.progress DIV {
|
||||||
width:0;
|
width:0;
|
||||||
|
|
Loading…
Reference in New Issue