PDA

View Full Version : [solved] trouble refreashing an iframe in a frame.



kasei
09-10-2007, 02:24 AM
Hi,

I have a page with frames (named frame0, frame1, frame2, etc...) and within frame4 there is an iframe named "iframe".

I want the iframe to be refreashed each time frame0 loads.

The script that I have is:

<SCRIPT language='JavaScript'>
<!---
setTimeout('top.frame4.iframe.location.reload();', 0);
//--->
</SCRIPT>

But it doesn't seem to work. What am I doing wrong?

nevermind, the code's ok. made a mistake somewhere else.