Removed the .href and no longer seeing the errors, though the iframe doesn't appear to be freshing. So the code now looks like this:
[CODE=javascript]<script type="text/javascript">
var milliSecondsToW ait = 20000;
function reloadIFrame(){
document.getEle mentById('iFram eName').locatio n = "http://newt1.adultadwo rld.com/jsc/z5/ff2 .html?n=607;c=2 445;s=271;d=14; w=728;h=90;p=27 1"...
User Profile
Collapse
-
Hi Ronnil,
Yes I do get an error code from Firefox and it is:
Error: document.getEle mentById("iFram eName").locatio n has no properties
Source File: file:///c:/dev/web/pages/TMP7q0g9kb8jp.h tm
Line: 15
Hope that helps and how can we fix this?...Leave a comment:
-
Thanks for the feedback on this and when I changed the code to:
[CODE=javascript]<td width="729" height="90" valign="top"> <script language="javas cript">
document.write( '<iframe name="iFrameNam e" id="iFrameName " src="http://newt1.adultadwo rld.com/jsc/z5/ff2 .html?n=607;c=2 445;s=271;d=14; w=728;h=90;p=27 1" frameborder=0 marginheight=0 marginwidth=0...Leave a comment:
-
Javascript Iframe Refresh Issue with 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.
...Code:<script type="text/javascript"> var milliSecondsToWait = 20000; function reloadIFrame(){
No activity results to display
Show More
Leave a comment: