如何阻止iframe弹出新窗口?
如题,我要的效果是 点击iframe里面的网页的链接,显示的新页面还是在iframe中,如何弄?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>浏览器</title>
</head>
<frameset rows="*,80" frameborder="no" border="0" framespacing="0">
<frame src="http://www.google.com.hk" name="mainFrame" id="mainFrame" scrolling="auto" title="mainFrame" />
<frame src="http://www.google.com.hk" name="bottomFrame" scrolling="auto" noresize="noresize" id="bottomFrame" title="bottomFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>