You are here: Re: Refresh page in another frame every x seconds « HTML « IT news, forums, messages
Re: Refresh page in another frame every x seconds

Posted by PH on 11/24/07 12:50

> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация