iframe的用法研究是怎么样的?
iframe的用法研究是怎么样的呢?
<iframe name= "aa " id= "aa " src= "www.baidu.com "> </iframe>
<a href= "www.baidu.com " target= "aa "> bb </a>
像网上说的,按超链接会在iframe中会显示内容的,为什么我一直没有成功呢?一直是该页无法显示,那为什么一开始iframe中也会显示该页无法显示呢?不是我点链接才有内容显示的吗?如果不是的话,那还叫什么嵌套框呢?
[解决办法]
没用过, 帮顶一个
[解决办法]
帮顶
[解决办法]
<head>
<title> test </title>
<LINK href= "/pts/public/css/Emerson.css "
type= "text/css " type=text/css rel=stylesheet>
</head>
<html>
<body>
<a href= "http://www.baidu.com " target= "tab " > <span class= "text_main "> ÍøÕ¾ </span> </a>
<br/>
<br/>
<table width= "100% " border= "0 " cellpadding= "0 " cellspacing= "0 ">
<iframe name= "tab " src= " " id= "tab " align= "middle " width= "800 "
height= "400 " marginwidth= "0 " marginheight= "0 " frameborder= "0 "
scrolling= "auto "> </iframe>
</table>
</body>
</html>
你的href取的是相对地址,当然window.open()也可以做到相同的效果