对于Galleria来说是新的--并试图对其进行角度评估,从google电子表格中提取其图像数据。
http://codepen.io/kylane/pen/amqWPw
function readytogo() {
window.alert('This is just a prototype');
Galleria.configure({
transition: 'fade',
imageCrop: true,
fullscreenDoubleTap: true,
responsive: true,
trueFullscreen: true,
autoplay: 10000,
lightbox: true,
swipe: 'auto',
showCounter: false,
showInfo: true
});
Galleria.run('#galleria');
$('#galleria').fadeIn('slow');
}
window.onload = readytogo;如果没有window.alert,画廊就不会呈现--我也不知道原因。
任何建议都将不胜感激!
发布于 2016-12-15 03:57:48
原来,我不是在等待google工作表JSON在呈现之前加载.
..。我的错。
https://stackoverflow.com/questions/39910393
复制相似问题