Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在当前页面中打开带有链接的Iframe_Html_Iframe_Hyperlink - Fatal编程技术网

Html 在当前页面中打开带有链接的Iframe

Html 在当前页面中打开带有链接的Iframe,html,iframe,hyperlink,Html,Iframe,Hyperlink,我正在尝试获取一个链接,以便在当前页面上打开iframe。此外,我不希望Iframe在用户选择链接之前可见 目前我有这个代码,但我的框架是可视的页面上,并有一个错误 Response.Write ("<a href=""form.asp?Int=" & recordsetAddressBook("Int") & "target=frame1"">") <iframe name="FRAME1" width="730" height="360" framebor

我正在尝试获取一个链接,以便在当前页面上打开iframe。此外,我不希望Iframe在用户选择链接之前可见

目前我有这个代码,但我的框架是可视的页面上,并有一个错误

Response.Write ("<a href=""form.asp?Int=" & recordsetAddressBook("Int") & "target=frame1"">")

<iframe name="FRAME1" width="730" height="360" frameborder="0"></iframe> 
Response.Write(“”)

请帮忙

问题在于您的Response.Write的基本格式

Response.Write ("<a href=""form.asp?Int=" & recordsetAddressBook("Int") & """ target=""frame1"">")
Response.Write(“”)

您最好不要告诉我们您遇到了什么错误。这样,每个人都可以猜测。:)英雄联盟我得到一个404错误,但这没有多大意义,因为它是一个本地文件,如果不涉及iframe,链接就可以工作。有什么想法吗?目标值似乎在URL中。这可能是“Response.Write(“”)”的问题。现在,它在另一个选项卡中打开了链接,但错误消失了:)iframe因此为空。谢谢Erick!链接现在在iframe中打开。在选择链接之前如何隐藏iframe?