[英]Calling an ASPX file in an iFrame
我正在嘗試通過將來自其他站點的ASPX文件嵌入到客戶的Wordpress中來使iFrame正常工作,這一直讓我頭疼。 我已經搜索並測試了每種方法。
我正在嘗試嵌入此ASPX: http : //www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx? backcolor= FFFFFF
進入此WordPress站點: https : //theretreatdurham.com/book-online/
下面是我的客戶給我的代碼,該代碼不起作用,對我來說是空白。 我嘗試了所有可以在網上找到的方法。 任何幫助將不勝感激。
<br class=“Apple-interchange-newline”> <iframe src=“http://www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx?backcolor=FFFFFF” scrolling=“no” width=“600px” height=“1400px” frameborder=“0”> </iframe>
我將其更改為部分起作用的代碼:
<iframe runat="server" src="http://www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx?backcolor=FFFFFF" frameborder=“0” scrolling=“no” style="width: 840px; height: 600px; frameborder: 0;"></iframe>
這對我來說很好。
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <iframe src="http://www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx?backcolor=FFFFFF" scrolling=“no” width=“600px” height=“1400px” frameborder=“0”></iframe> </body> </html>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.