Browse Source

set slide width

master
filesite 1 month ago
parent
commit
e6dcc91656
  1. 1
      www/css/beauty.css
  2. 5
      www/js/beauty.js

1
www/css/beauty.css

@ -180,6 +180,7 @@ a:link{text-decoration:none}
/*hide cursor when slideshow is idle*/ /*hide cursor when slideshow is idle*/
.has-slideshow.is-idle .fancybox__viewport, .has-slideshow.is-idle .fancybox__viewport,
.has-slideshow.is-idle .fancybox__content{cursor:none} .has-slideshow.is-idle .fancybox__content{cursor:none}
.has-slideshow.is-idle .fancybox__toolbar{display:none}
/* 主题切换 */ /* 主题切换 */

5
www/js/beauty.js

@ -155,9 +155,8 @@ if ($('#image_site').get(0)) {
Toolbar: fancyboxToolbar, Toolbar: fancyboxToolbar,
loop: true, loop: true,
smallBtn: false, smallBtn: false,
iframe: { //height: $(window).height(),
preload: false width: $(window).width(),
},
on: { on: {
startSlideshow: function(fancybox) { startSlideshow: function(fancybox) {
var autoplay = fancybox.plugins.Slideshow.ref; var autoplay = fancybox.plugins.Slideshow.ref;

Loading…
Cancel
Save