loadcurrent(img);
}
}
- setTimeout("checkURL()", 100);
+ setTimeout("checkURL()", 50);
}
function preload() {
* next ones faster, beginning with next to current
*/
if (current + 1 < images.length && load(current + 1) == 0) {
- setTimeout("preload()", 500);
+ setTimeout("preload()", 50);
return;
}
if (current - 1 >= 0 && load(current - 1) == 0) {
- setTimeout("preload()", 500);
+ setTimeout("preload()", 50);
return;
}
for (i = current + 2; i < images.length && i <= current + 5; i++) {
if (load(i) == 0) {
- setTimeout("preload()", 500);
+ setTimeout("preload()", 50);
return;
}
}
for (i = current - 2; i >= current - 3; i--) {
if (i >= 0) {
if (load(i) == 0) {
- setTimeout("preload()", 500);
+ setTimeout("preload()", 50);
return;
}
}
}
- setTimeout("preload()", 500);
+ setTimeout("preload()", 50);
}
function add_cookie(val) {
document.getElementById('thumbnails').href = 'thumbnails-~~current_size~~-' + thumbnailspages[current] + '.html#' + images[current];
set_cursor("default");
} else {
- setTimeout("show_current_text()", 100);
+ setTimeout("show_current_text()", 50);
set_cursor("wait");
}
}
display_current();
slideshow_timer = setTimeout("run_slideshow()", slideshow_pause * 1000);
} else {
- slideshow_timer = setTimeout("run_slideshow()", 500);
+ slideshow_timer = setTimeout("run_slideshow()", 50);
}
if (current == images.length - 1) {