2012-11-15 27 views
0

我想嵌入一個在Adobe Edge中創建的html5橫幅,我能想到的最簡單的方法是將所有代碼邊緣吐出轉儲到ftp上,然後使用iframe指向該html文件。如果我在我的機器上本地執行此操作,它可以正常工作,如果我在我們的實時網站上嘗試它,則網站的左上角將出現在iframe而不是橫幅中。這是一個Joomla 1.5網站我不知道什麼會導致這個,因爲我以前沒有使用iframe。我編輯了代碼,因此不再有空格。iframe返回首頁,而不是外部文件

這裏是我的網站:www.webchild.com.au

這裏是iframe的代碼:

<iframe src="/stdAds/html5/bilby-test/bilby_theatrical_banner.html" width="300" height="250" frameborder="0" scrolling="no"></iframe> 

HTML文件中的代碼是:

<!DOCTYPE html> 
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> 
<title>Bilby Theatrical Productions Banner</title> 
<!--Adobe Edge Runtime--> 
<script type="text/javascript" charset="utf-8" src="bilby_theatrical_banner_edgePreload.js"></script> 
<style> 
.edgeLoad-EDGE-380725615 { visibility:hidden; } 
</style> 
<!--Adobe Edge Runtime End--> 

</head> 
<body style="margin:0;padding:0;"> 
<div id="Stage" class="EDGE-380725615"> 
</div> 
</body> 
</html> 
+0

請提供指向您網站的鏈接,以及您用於iFrame的代碼。 – Lodder

+0

www.webchild.com.au – benikens

+0