0
我剛剛嵌入谷歌日曆到我的網站作爲fancybox彈出。它在桌面上按預期工作,但在橫向和縱向上在iphone上顯示空白。在Fancybox v2中嵌入谷歌日曆在iPhone上顯示空白
HTML
<a class="fancybox fancybox.iframe" href="https://calendar.google.com/calendar/embed?showTitle=0&showNav=0&showDate=0&showPrint=0&showTabs=0&showCalendars=0&showTz=0&mode=AGENDA&height=600&wkst=1&bgcolor=%23FFFFFF&src=SOURCE REMOVED;color=%231B887A&ctz=Australia%2FSydney" style=" border-width:0 " width="800" height="600" frameborder="0" scrolling="no"></a>
SCRIPT
<script type="text/javascript">
$(function() {
// fancybox
jQuery(".fancybox").fancybox({
\t 'type' : 'iframe', // tell the script to create an iframe
});
});
\t </script>
而且剛發現的日曆顯示在Chrome中,空白的fancybox,和的fancybox甚至不開放在mac上的safari上。 (旋轉輪)我使用相同的代碼在同一網站上打開youtube視頻,soundcloud播放列表和html文件。無法計算爲什麼日曆不能在某些平臺上工作...