Quote:
Originally Posted by acoder
Add name="iFrameName" to the iframe.
Thanks for the feedback on this and when I changed the code to:
- <td width="729" height="90" valign="top"> <script language="javascript">
-
document.write('<iframe name="iFrameName" id="iFrameName" src="http://newt1.adultadworld.com/jsc/z5/ff2 .html?n=607;c=2445;s=271;d=14; w=728;h=90;p=271" frameborder=0 marginheight=0 marginwidth=0 scrolling="no" allowTransparency="true" width=728 height=90></iframe>');
-
</script></td>
Firefox still doesn't seem to be refreshing the frame. Did I do this correctly?
Also tried the other version of modifying the javascript to the following:
- <script type="text/javascript">
-
-
var milliSecondsToWait = 20000;
-
-
function reloadIFrame(){
-
document.getElementById('iFrameName').location .href="http://newt1.adultadworld.com/jsc/z5/ff2.html? n=607;c=2445;s=271;d=14;w=728;h=90;p=271"
-
myVar = setTimeout("reloadIFrame()",milliSecondsToWait);
-
}
-
var myVar = setTimeout("reloadIFrame()",milliSecondsToWait);
-
-
</script>
-
This was also unsuccessful for me, I am thinking that I am doing something wrong here.
Any additional feedback would be awesome and thank you again for the help alreay.
MEDIAGULCH