Refresh page in another frame every x seconds

Hi

My website has 4 frames, namely: top, left, right (mainFrame), bottom
The right frame is linked to other website which has content that
changes frequently.

Is it possible to write a refresh code on the left frame that will
refresh the content on the right frame every 5 seconds?

The following code does not work,
<meta http-equiv="refresh" content="3" target="mainFrame">


Thanks very much in advance
Rule-Ur-Wayz [ Sa, 24 November 2007 12:45 ] [ ID #1878138 ]

Re: Refresh page in another frame every x seconds

> Hi
>
> My website has 4 frames, namely: top, left, right (mainFrame), bottom
> The right frame is linked to other website which has content that
> changes frequently.
>
> Is it possible to write a refresh code on the left frame that will
> refresh the content on the right frame every 5 seconds?
>
> The following code does not work,
> <meta http-equiv="refresh" content="3" target="mainFrame">
>
>
> Thanks very much in advance

Maybe this ?

<head>
<script>
setInterval ( "doSomething()", 1000 );

function doSomething ( )
{
// (do something here)
window.right.location = "http://www.somewebsite.com/"
}

</script>
</head>



--
Best Regards
Peter Heinzl
www.123-game.com/guitar
http://www.123-game.com/puzzle/free_panorama1_1.asp
PH [ Sa, 24 November 2007 13:50 ] [ ID #1878140 ]

Re: Refresh page in another frame every x seconds

"Rule-Ur-Wayz" <iamanobody [at] gmail.com> wrote in message
news:bba49a52-c4a3-4f9e-9bbc-f779960db70b [at] d27g2000prf.google groups.com...
> Hi
>
> My website has 4 frames, namely: top, left, right (mainFrame), bottom
> The right frame is linked to other website which has content that
> changes frequently.
>
> Is it possible to write a refresh code on the left frame that will
> refresh the content on the right frame every 5 seconds?
>
> The following code does not work,
> <meta http-equiv="refresh" content="3" target="mainFrame">
>
>

I'm sure someone in this group will be along in a minute to tell you why
Frames Are Evil, but a nested frameset could work - simply refresh the
frameset that contains the target frame.



--
-=# Amos E Wolfe #=-
Amos E Wolfe [ So, 25 November 2007 21:43 ] [ ID #1878596 ]

Re: Refresh page in another frame every x seconds

In article <B7l2j.43768$9Y3.32439 [at] newsfe1-win.ntli.net>,
"Amos E Wolfe" <amos.wolfe [at] ntlworld.com> wrote:

> "Rule-Ur-Wayz" <iamanobody [at] gmail.com> wrote in message
> news:bba49a52-c4a3-4f9e-9bbc-f779960db70b [at] d27g2000prf.google groups.com...
> > Hi
> >
> > My website has 4 frames, namely: top, left, right (mainFrame), bottom
> > The right frame is linked to other website which has content that
> > changes frequently.
> >
> > Is it possible to write a refresh code on the left frame that will
> > refresh the content on the right frame every 5 seconds?
> >
> > The following code does not work,
> > <meta http-equiv="refresh" content="3" target="mainFrame">
> >
> >
>
> a nested frameset could work - simply refresh the
> frameset that contains the target frame.

OP is asking how to make it happen on his audiences computers not
his own.

--
dorayme
dorayme [ So, 25 November 2007 21:57 ] [ ID #1878598 ]

Re: Refresh page in another frame every x seconds

"dorayme" <doraymeRidThis [at] optusnet.com.au> wrote in message
news:doraymeRidThis-FD8BD3.07570326112007 [at] news-vip.optusnet. com.au...
> In article <B7l2j.43768$9Y3.32439 [at] newsfe1-win.ntli.net>,
> "Amos E Wolfe" <amos.wolfe [at] ntlworld.com> wrote:
>
>> "Rule-Ur-Wayz" <iamanobody [at] gmail.com> wrote in message
>> news:bba49a52-c4a3-4f9e-9bbc-f779960db70b [at] d27g2000prf.google groups.com...
>> > Hi
>> >
>> > My website has 4 frames, namely: top, left, right (mainFrame), bottom
>> > The right frame is linked to other website which has content that
>> > changes frequently.
>> >
>> > Is it possible to write a refresh code on the left frame that will
>> > refresh the content on the right frame every 5 seconds?
>> >
>> > The following code does not work,
>> > <meta http-equiv="refresh" content="3" target="mainFrame">
>> >
>> >
>>
>> a nested frameset could work - simply refresh the
>> frameset that contains the target frame.
>
> OP is asking how to make it happen on his audiences computers not
> his own.

Then the refresh of the page in the frame would be done with something like,
say, javascript then. There are a number of ways I can offhandedly think of
to do this, each of which would just sit there eating up my bandwidth,
especially if it is every 5 seconds, not even considering the flashing that
would go on as the page is "refreshed" and repainted. I would be long gone.

--
Richard.
rf [ Mo, 26 November 2007 00:20 ] [ ID #1878604 ]

Re: Refresh page in another frame every x seconds

In article <Bqn2j.17023$CN4.10215 [at] news-server.bigpond.net.au>,
"rf" <rf [at] invalid.com> wrote:

> "dorayme" <doraymeRidThis [at] optusnet.com.au> wrote in message
> news:doraymeRidThis-FD8BD3.07570326112007 [at] news-vip.optusnet. com.au...
> > In article <B7l2j.43768$9Y3.32439 [at] newsfe1-win.ntli.net>,
> > "Amos E Wolfe" <amos.wolfe [at] ntlworld.com> wrote:
> >
> >> "Rule-Ur-Wayz" <iamanobody [at] gmail.com> wrote in message
> >> news:bba49a52-c4a3-4f9e-9bbc-f779960db70b [at] d27g2000prf.google groups.com...
> >> > Hi
> >> >
> >> > My website has 4 frames, namely: top, left, right (mainFrame), bottom
> >> > The right frame is linked to other website which has content that
> >> > changes frequently.
> >> >
> >> > Is it possible to write a refresh code on the left frame that will
> >> > refresh the content on the right frame every 5 seconds?
> >> >
> >> > The following code does not work,
> >> > <meta http-equiv="refresh" content="3" target="mainFrame">
> >> >
> >> >
> >>
> >> a nested frameset could work - simply refresh the
> >> frameset that contains the target frame.
> >
> > OP is asking how to make it happen on his audiences computers not
> > his own.
>
> Then the refresh of the page in the frame would be done with something like,
> say, javascript then. There are a number of ways I can offhandedly think of
> to do this, each of which would just sit there eating up my bandwidth,
> especially if it is every 5 seconds, not even considering the flashing that
> would go on as the page is "refreshed" and repainted. I would be long gone.

You are not wrong about this, it is a nasty thing for OP to want
and the sort of thing that should worry anyone with a smallish
download limits (like my plan). Imagine leaving the computer for
a good while without noticing ...

--
dorayme
dorayme [ Mo, 26 November 2007 02:35 ] [ ID #1879425 ]
Miscellaneous » alt.html » Refresh page in another frame every x seconds

Vorheriges Thema: </form> adds space to end of file?
Nächstes Thema: ALT.HTML Statistics for 25/11/2007