[英]Calling an ASPX file in an iFrame
I'm trying to get an iFrame working by embedding an ASPX file from a different site on my client's Wordpress, and it's been giving me a headache. 我正在尝试通过将来自其他站点的ASPX文件嵌入到客户的Wordpress中来使iFrame正常工作,这一直让我头疼。 I have searched and tested every method.
我已经搜索并测试了每种方法。
I'm trying to embed this ASPX: http://www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx?backcolor=FFFFFF 我正在尝试嵌入此ASPX: http : //www.salonvision.com/TheRetreat/AppointmentSearchFBTab.aspx? backcolor= FFFFFF
Into this wordpress site: https://theretreatdurham.com/book-online/ 进入此WordPress站点: https : //theretreatdurham.com/book-online/
Below is the code my client gave me which does not work, just opens up blank for me. 下面是我的客户给我的代码,该代码不起作用,对我来说是空白。 And I have tried every method I could find online.
我尝试了所有可以在网上找到的方法。 Any help would be so much appreciated.
任何帮助将不胜感激。
<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>
I changed it to this code which works partially: 我将其更改为部分起作用的代码:
<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>
This is working fine for me. 这对我来说很好。
<!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.