X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot.js;h=19224483d4fdfcc1321c229156ec1e0f15a8dce4;hp=8db1f651b132cbf964f6fe4ef06280a5f31c2d2e;hb=9ebbaf7dfd6c8c967cb03b92dc944a31f0dee708;hpb=6c98040d5b5f29f3952b8222d5cf256007347e5d;ds=sidebyside diff --git a/phpfspot.js b/phpfspot.js index 8db1f65..1922448 100644 --- a/phpfspot.js +++ b/phpfspot.js @@ -678,8 +678,13 @@ function noop() {} /** * start slideshow */ -function startSlideShow() +function startSlideShow(srv_webpath) { + if(srv_webpath != undefined) + web_path = srv_webpath; + else + web_path = ''; + if(!sliding) { HTML_AJAX.grab(encodeURI(web_path + '/rpc.php?action=reset_slideshow')); nextSlide();