我在我的 html 页面中使用了一些 iframe 标签,如下所示:
<TABLE border="0" width="900">
<tr valign="top">
<td width="300" ALIGN=center>
<iframe src='http://www.apple.com/in/' frameborder = 0, height=250, width = 300 > </iframe><br>
</div>
</td>
<td width="300" ALIGN=center>
<div class="item_list">
<iframe src = 'http://www.flipkart.com/affiliate/displayWidget?affrid=WRID-137232779171598318' frameborder = 0, height=250, width = 300 base target="_blank" > </iframe></a><br>
</div>
</td>
<td width="300" ALIGN=center>
<div class="item_list">
<iframe src = 'http://www.flipkart.com/affiliate/displayWidget?affrid=WRID- 137232785207215857' frameborder = 0, height=250, width = 300 > </iframe>
<br></div>
</td>
</tr>
</TABLE>
现在我需要的是打开 iframe 中的链接到新选项卡或窗口。我已经为此使用了以下脚本,但没有运气。
<SCRIPT LANGUAGE="JavaScript">
function goNewWin() {
//***Get what is below onto one line***
window.open("backbuttonnewpage.html",'TheNewpop','toolbar=1,
location=1,directories=1,status=1,menubar=1,
scrollbars=1,resizable=1');
//***Get what is above onto one line***
self.close()
}
</SCRIPT>
谁能建议我解决这个问题?