Bonjour,

J'aimerais insérer sur mon blog une page dans un popup dont le contenu serait rafraîchi toutes les 60 secondes:

La page:

GPS tracking powered by
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
<a href="http://www.instamapper.com">InstaMapper.com</a>
<br><br>
<iframe style="border:1px solid;" width="800" height="835" frameborder="0" scrolling="no" src="http://www.instamapper.com/ext?key=8299193497118392892&width=600&height=800&zoom=13&type=roadmap&units=metric&coords=d">
</iframe>

Ce que j'ai commencé à bidouiller...

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
 
function openPopup( url)
{
  var oWin = window.open( '', 'GEO', 'height=800, width=520');
  oWin.document.open();
  oWin.document.write('<script type="text/javascript" src="' +url +'"></s' +'cript>');
  oWin.document.close();
}
 
function refreshiframe()
{
document.getElementById("frame1").src="http://www.instamapper.com/ext?key=8299193497118392892&width=520&height=800&zoom=12&type=roadmap&units=metric&coords=d"
setTimeout("refreshiframe()",60000); 
}
</script>
</head>
<body onload="refreshiframe();">
<b><a href="#" onclick="openPopup('http://www.instamapper.com/ext?key=8299193497118392892&width=520&height=800&zoom=12&type=roadmap&units=metric&coords=d')">GEOLOCALISATION TEMPS REEL</a></b> 
</body>
</html>
le popup affiche une page blanche... Je bloque...

Merci de votre aide.