diff --git a/www/css/beauty.css b/www/css/beauty.css index 0bb6590..29f17d2 100644 --- a/www/css/beauty.css +++ b/www/css/beauty.css @@ -180,6 +180,7 @@ a:link{text-decoration:none} /*hide cursor when slideshow is idle*/ .has-slideshow.is-idle .fancybox__viewport, .has-slideshow.is-idle .fancybox__content{cursor:none} +.has-slideshow.is-idle .fancybox__toolbar{display:none} /* 主题切换 */ diff --git a/www/js/beauty.js b/www/js/beauty.js index a754dde..ff61aa2 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -155,9 +155,8 @@ if ($('#image_site').get(0)) { Toolbar: fancyboxToolbar, loop: true, smallBtn: false, - iframe: { - preload: false - }, + //height: $(window).height(), + width: $(window).width(), on: { startSlideshow: function(fancybox) { var autoplay = fancybox.plugins.Slideshow.ref;