minor fixes for progress bar

This commit is contained in:
Vadim Makeev 2010-11-16 00:39:10 +03:00
parent 994f984452
commit 723ff739f6
2 changed files with 2 additions and 1 deletions

View File

@ -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) + '%';
} }

View File

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