Balise iframe

Bonjour, j'ai le même problème, le résultat attendu avec la balise iframe ne fonctionne pas... Voici mon code source...le 2ème lien hypertexte, lui, fonctionne trés bien.

<table width="100%" border="0" cellpadding="10" cellspacing="10">

<tr>
<td><div align="center"><iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
src="https://www.google.fr/maps/place/Mademoiselle+Cupcake/@43.2914465,5.3846958,15z/data=!4m2!3m1!1s0x0:0xbfcb9f82059943f2"></iframe>

<a href="https://www.google.fr/maps/place/Mademoiselle+Cupcake/@43.2914465,5.3846958,15z/data=!4m2!3m1!1s0x0:0xbfcb9f82059943f2" target="blank"class="Style4">Agrandir le plan</a>
</div>
</td>

</tr>

</table>

1 réponse

  1. Salut,

    Voilà un code qui fonctionne :

    <table width="100%" border="0" cellpadding="10" cellspacing="10">
    <tr>
    <td>
    <iframe frameborder="0" scrolling="no" marginheight="0" marginwidth="0" width="640" height="480" src="https://maps.google.com/maps?hl=en&q=Mademoiselle Cupcake, Rue des Bergers, Marseille&ie=UTF8&t=m&z=16&iwloc=B&output=embed"></iframe>	
    <a href="https://www.google.fr/maps/place/Mademoiselle+Cupcake/@43.2914465,5.3846958,15z/data=!4m2!3m1!1s0x0:0xbfcb9f82059943f2" target="blank"class="Style4">Agrandir le plan</a>
    </td>
    </tr>
    </table>
    1. merci beaucoup ça marche, le truc c'est que j'ai 8 adresses différentes à faire... alors comment avez vous fait que je puisse recommencer l'opération?! merci! :) manon.
    2. Quand tu fais une recherche d'adresse sur Google Maps tu as un bouton partager à gauche. Après tu cliques sur intégrer la carte et ça te génère le code pour l'iFrame.
    3. Super tout fonctionne merci beaucoup pour ton aide, c'était simple mais quand on le sait pas on galère un moment! bonne après midi.