1
Le voci di Joomla.it (solo per versione Joomla 1.0.x) / Re:Codice da inserire per immagine Webcam.
« il: 26 Ott 2012, 16:22:32 »
Ho provato questo script e sembra che funzioni. Forse ho ancora un piccolo problema da risolvere: Se il nome dell'immagine da caricare ha sempre lo stesso nome, rimane in memoria del Browser e non si aggiorna perciò dovro far inserire un numero prograssivo all'immagine.
Ciao.
Grazie.
Italo
<head>
<script type="text/javascript">
<!--
setInterval ( "test()", 60000 );
function test(){
top.frames['theiframe'].location = "http://www.XXXXXXX.va.it/album/smeraldo_1.jpg"
}
//-->
</script>
</head>
<body>
<a href="#" onclick="test(); return false;">Refresh iframe[/url]
<iframe width="849" height="526" src="http://www.XXXXXXX.va.it/album/smeraldo_1.jpg" id="theiframe" name="theiframe"></iframe></body>
</htm>
Ciao.
Grazie.
Italo
<head>
<script type="text/javascript">
<!--
setInterval ( "test()", 60000 );
function test(){
top.frames['theiframe'].location = "http://www.XXXXXXX.va.it/album/smeraldo_1.jpg"
}
//-->
</script>
</head>
<body>
<a href="#" onclick="test(); return false;">Refresh iframe[/url]
<iframe width="849" height="526" src="http://www.XXXXXXX.va.it/album/smeraldo_1.jpg" id="theiframe" name="theiframe"></iframe></body>
</htm>