首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

js 子iframe轮换父iframe中的href

2012-07-30 
js 子iframe替换父iframe中的hrefwindow.parent.frames[fmain].location.hrefhttp://www.iteye.com?

js 子iframe替换父iframe中的href

window.parent.frames["fmain"].location.href="http://www.iteye.com";

?

fmain ?//表示父iframe中的一个name对象

热点排行