Galleria:如果没有 window 干预就不会呈现?
Galleria: Won't render without a window intervention?
Galleria 的新手 - 并尝试针对 angular 系统对其进行评估,从 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,画廊将不会呈现 - 我不确定为什么。
如有任何建议,我们将不胜感激!
原来,我并没有在渲染之前等待 google sheet JSON 加载...
...我的错。
Galleria 的新手 - 并尝试针对 angular 系统对其进行评估,从 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,画廊将不会呈现 - 我不确定为什么。
如有任何建议,我们将不胜感激!
原来,我并没有在渲染之前等待 google sheet JSON 加载...
...我的错。