Firefox的Javascript Iframe刷新问题.... [英] Javascript Iframe Refresh Issue with Firefox....

查看:60
本文介绍了Firefox的Javascript Iframe刷新问题....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我们目前正在我们的一些网站上运行横幅广告,我们实施了一个javascript,因此每隔20秒刷新一次。该脚本在IE中运行良好,但在Firefox中根本不起作用。我们已经包含了下面的脚本,并希望得到任何可能的反馈。

Hello,

We are currently running banner ads on a few of our sites and we implemented a javascript so they refresh after every 20 seconds. The script works great in IE though in Firefox it doesn''t work at all. We have included the script below and would appreciate any feedback possible.

展开 | 选择 | Wrap | 行号

推荐答案

已移至Javascript论坛
Moved to Javascript forum


添加名称=" iFrameName"到iframe。
Add name="iFrameName" to the iframe.



添加name =" iFrameName"到iframe。
Add name="iFrameName" to the iframe.



或者更改frames [''iFrameName'']" to getElementById(''iFrameName'')

either that or change "frames[''iFrameName'']" to getElementById(''iFrameName'')


这篇关于Firefox的Javascript Iframe刷新问题....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆