2015-10-20 25 views
0

我剛剛嵌入谷歌日曆到我的網站作爲fancybox彈出。它在桌面上按預期工作,但在橫向和縱向上在iphone上顯示空白。在Fancybox v2中嵌入谷歌日曆在iPhone上顯示空白

HTML

<a class="fancybox fancybox.iframe" href="https://calendar.google.com/calendar/embed?showTitle=0&amp;showNav=0&amp;showDate=0&amp;showPrint=0&amp;showTabs=0&amp;showCalendars=0&amp;showTz=0&amp;mode=AGENDA&amp;height=600&amp;wkst=1&amp;bgcolor=%23FFFFFF&amp;src=SOURCE REMOVED;color=%231B887A&amp;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文件。無法計算爲什麼日曆不能在某些平臺上工作...

回答

0

原來的問題是我嵌入的日曆未公開,因此未在某些瀏覽器上顯示。奇怪的是,它在Firefox(mac)甚至ipad上都沒有公開。