You are here: Re: Executing php code within an iframe « All PHP « IT news, forums, messages
Re: Executing php code within an iframe

Posted by Steve on 10/12/06 14:12

| <META http-equiv="Refresh" content="5
| url=http://www.onzemaninteheran.com/uploaded_images/microphone-755244.jpg"
| Target=_blank">"
| <html>
| <body>
| <Iframe src="http://www.bizpodcasting.com/uploads/Microphone%204.gif"
| width="60" height="60"></Iframe>
| </body>
| </html>


<html>
<script language="javascript">
var newSource =
'http://www.bizpodcasting.com/uploads/Microphone%204.gif';
var initialDelay = 0;
var refreshDelay = 0;
function changeImage()
{
if (initialDelay)
{
clearTimeout(initialDelay);
initialDelay = 0;
if (!refreshDelay){ refreshDelay = setInterval('changeImage()', 5 *
1000); }
}
if (!document.getElementById('imageToSwap')){ return; }
document.getElementById('imageToSwap').src = newSource;
}
function initialize()
{
initialDelay = setTimeout('changeImage()', 5 * 1000);
}
function quit()
{
if (initialDelay)
{
clearTimeout(initialDelay);
initialDelay = 0;
}
if (refreshDelay)
{
clearInterval(refreshDelay);
refreshDelay= 0;
}
}
</script>
<body onload="initialize();" onunload="quit();">
<img id="imageToSwap"
src="http://www.onzemaninteheran.com/uploaded_images/microphone-755244.jpg"
</body>
</html>

 

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

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