dimanche 31 juillet 2016

Animation satellite Wunderground qui ne fonctionne plus (Wublast)

Je me suis rendu-compte ces derniers jours que les animations satellite de Wunderground ("Wublast") ne fonctionnaient plus correctement (problèmes d'actualisation) sauf si on les met en image d'arrière-plan d'un <DIV> ou d'un tableau (<table>). Par contre, les simples images fonctionnent correctement.

Voici un code exemple avec un <TABLE> (image satellite centrée sur St Martin, nord des Petites Antilles.)


<table align="center" border="0" cellpadding="0" cellspacing="0" style="background-image: url(http://wublast.wunderground.com/cgi-bin/WUBLAST?lat=18.07&amp;lon=-63&amp;width=200&amp;height=200&amp;radunits=km&amp;radius=700&amp;gtt=63&amp;num=12&amp;delay=50&amp;key=sat_ir4&amp;basemap=1&amp;borders=1&amp;theme=WUBLAST_WORLD&amp;extension=gif&amp;proj=ll&amp;timelabel.x=0&amp;timelabel.y=12); background-position: 50% 50%; background-repeat: no-repeat; height: 200px; width: 200px;">
 <tbody>
<tr>
   <td></td>
  </tr>
</tbody>
</table>


Avec un <DIV>, c'est encore plus simple...

<div style="background-image: url(&quot;http://wublast.wunderground.com/cgi-bin/WUBLAST?lat=18.07&amp;lon=-63&amp;width=200&amp;height=200&amp;radunits=km&amp;radius=1500&amp;gtt=63&amp;num=12&amp;delay=50&amp;key=sat_ir4&amp;basemap=1&amp;borders=1&amp;theme=WUBLAST_WORLD&amp;extension=gif&amp;proj=ll&amp;timelabel.x=0&amp;timelabel.y=12&quot;); background-position: 50% 50%; background-repeat: no-repeat; height: 200px; margin-left: auto; margin-right: auto; width: 200px;">
</div>

<table>
+

<div>


Si vous êtes intéressé par ces images satellite et leurs paramètres, j'ai fait une page-tuto il y a bien longtemps. Elle est un peu déglinguée mais encore utile...

Aucun commentaire:

Enregistrer un commentaire