2013-03-08 48 views
1

請幫助包括自定義JavaScript庫「jquery-EmbedPicasaGallery.js」到谷歌網站。 我試過3種方法,總是有錯誤:如何將自定義JavaScript庫包含到谷歌網站?

failed to load external url jquery-EmbedPicasaGallery.js 

我想:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
<script type="text/javascript" src="https://googledrive.com/host/0BziEumkvYpL6Ql9NRFhET2FXM1E/jquery-EmbedPicasaGallery.js"></script> 

<script type="text/javascript" src="https://docs.google.com/uc?id=0BziEumkvYpL6ZmlHZ2FWQ1NrVG8"></script> 

<script type="text/javascript" src="https://docs.google.com/uc?id=0BziEumkvYpL6ZmlHZ2FWQ1NrVG8&export=download"></script> 
+2

你想要做什麼?你的頭銜很不清楚。 – Ryan 2013-03-08 17:39:40

+0

我需要連接庫才能使用Piñasa。但我總是得到一個錯誤。 – user2149279 2013-03-08 18:55:45

回答

0

您是否嘗試過下載腳本並從您自己的服務器上運行腳本?

您的網站是在服務器上測試還是在本地測試?

企圖某些事情在當地時發生錯誤,所以一定要在服務器上運行,特別是在涉及phpajaxcanvas image datahttp headers,並且cookies,僅舉幾例是很常見的。