Titre: Code iframe qui fonctionne bizarrement
Posté par: jobouille le le 29-03-2014 a 22:24:53
Bonjour je fais actuellement un site pour un ami, mais celui-ci ne le sait pas. J'ai créer ma présentation sous Adobe Fireworks ; j'ai ensuite mit cette présentation sous adobe dreamweaver et la page centrale ne serait qu'un code iframe ayant un certain nom afin que toutes les pages s'affiche à l'intérieur et que l'on ait le menu, le titre autour. Mais lorsque je remplace l'image part le code iframe tout est buggé ! Je passe donc de ça (sans code iframe) : http://www.mediafire.com/convkey/e1a2/eum6uvkauez1kl9fg.jpg à ça : http://www.mediafire.com/convkey/ac7a/cfou80f61jpqbo9fg.jpg. J'ai pourtant réalisé de nombreux site de cette manière là et j'ai toujours réussit, mais c'est vrai que j'ai rencontré plusieurs problème lorsque le menu du site était sur le côté gauche verticalement, ce que je ne comprend pas. Voici le code iframe que je rajoute : " <iframe id="sitegaz" name="sitegaz" src="accueil.html" frameborder="0" scrolling="auto" height="467" width="713"/> " les dimensions sont les bonnes et le name et id aussi.
Qu'en pensez-vous ?
Merci d'avance et bonne journée/soirée. |
Titre: Re:Code iframe qui fonctionne bizarrement
Posté par: KB le le 01-04-2014 a 14:49:07
perso, j'en pense que tu devrais travailler sans iframe :-) tes div en float et ton probleme est résolu (et ton code est propre et à jour) |
Titre: Re:Code iframe qui fonctionne bizarrement
Posté par: jobouille le le 02-04-2014 a 16:14:03
Bonjour, que voulez-vous dire par "tes div en float" ? Qu'es qu'il faudrais que je modifie ? Voici le code du iframe jusqu'à la fin de la page :
<tr> <td colspan="8"><img name="index_r6_c3" src="images/index_r6_c3.gif" width="257" height="126" border="0" id="index_r6_c3" alt="" /></td> <td rowspan="9" colspan="4"><iframe id="sitegaz" name="sitegaz" src="accueil.html" frameborder="0" scrolling="auto" height="467" width="713"/></td> <td><img src="images/spacer.gif" width="1" height="126" border="0" alt="" /></td> </tr> <tr> <td rowspan="13"><img name="index_r7_c3" src="images/index_r7_c3.gif" width="8" height="447" border="0" id="index_r7_c3" alt="" /></td> <td colspan="2"><a href="index.html" target="_parent" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r7_c4','','images/index_r7_c4_f2.gif',1);"><img name="index_r7_c4" src="images/index_r7_c4.gif" width="119" height="37" border="0" id="index_r7_c4" alt="" /></a></td> <td rowspan="2" colspan="5"><img name="index_r7_c6" src="images/index_r7_c6.gif" width="130" height="46" border="0" id="index_r7_c6" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="37" border="0" alt="" /></td> </tr> <tr> <td colspan="2"><img name="index_r8_c4" src="images/index_r8_c4.gif" width="119" height="9" border="0" id="index_r8_c4" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="9" border="0" alt="" /></td> </tr> <tr> <td colspan="6"><a href="videos_recentes_gaz.html" target="sitegaz" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r9_c4','','images/index_r9_c4_f2.gif',1);"><img name="index_r9_c4" src="images/index_r9_c4.gif" width="226" height="37" border="0" id="index_r9_c4" alt="" /></a></td> <td rowspan="7"><img name="index_r9_c10" src="images/index_r9_c10.gif" width="23" height="319" border="0" id="index_r9_c10" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="37" border="0" alt="" /></td> </tr> <tr> <td colspan="6"><img name="index_r10_c4" src="images/index_r10_c4.gif" width="226" height="9" border="0" id="index_r10_c4" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="9" border="0" alt="" /></td> </tr> <tr> <td colspan="5"><a href="qui_suis_je_gaz.html" target="sitegaz" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r11_c4','','images/index_r11_c4_f2.gif',1);"><img name="index_r11_c4" src="images/index_r11_c4.gif" width="193" height="37" border="0" id="index_r11_c4" alt="" /></a></td> <td rowspan="5"><img name="index_r11_c9" src="images/index_r11_c9.gif" width="33" height="273" border="0" id="index_r11_c9" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="37" border="0" alt="" /></td> </tr> <tr> <td colspan="5"><img name="index_r12_c4" src="images/index_r12_c4.gif" width="193" height="9" border="0" id="index_r12_c4" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="9" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><a href="contact_gaz.html" target="sitegaz" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r13_c4','','images/index_r13_c4_f2.gif',1);"><img name="index_r13_c4" src="images/index_r13_c4.gif" width="126" height="37" border="0" id="index_r13_c4" alt="" /></a></td> <td rowspan="3" colspan="2"><img name="index_r13_c7" src="images/index_r13_c7.gif" width="67" height="227" border="0" id="index_r13_c7" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="37" border="0" alt="" /></td> </tr> <tr> <td rowspan="2" colspan="3"><img name="index_r14_c4" src="images/index_r14_c4.gif" width="126" height="190" border="0" id="index_r14_c4" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="166" border="0" alt="" /></td> </tr> <tr> <td colspan="4"><img name="index_r15_c11" src="images/index_r15_c11.gif" width="713" height="24" border="0" id="index_r15_c11" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="24" border="0" alt="" /></td> </tr> <tr> <td rowspan="4"><img name="index_r16_c4" src="images/index_r16_c4.gif" width="46" height="82" border="0" id="index_r16_c4" alt="" /></td> <td colspan="7"><a href="http://www.youtube.com/user/GazIsPlaying" target="_blank" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r16_c5','','images/index_r16_c5_f2.gif',1);"><img name="index_r16_c5" src="images/index_r16_c5.gif" width="216" height="23" border="0" id="index_r16_c5" alt="" /></a></td> <td rowspan="4"><img name="index_r16_c12" src="images/index_r16_c12.gif" width="27" height="82" border="0" id="index_r16_c12" alt="" /></td> <td><a href="https://plus.google.com/117310796953028049355/posts" target="_blank" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r16_c13','','images/index_r16_c13_f2.gif',1);"><img name="index_r16_c13" src="images/index_r16_c13.gif" width="116" height="23" border="0" id="index_r16_c13" alt="" /></a></td> <td rowspan="4"><img name="index_r16_c14" src="images/index_r16_c14.gif" width="557" height="82" border="0" id="index_r16_c14" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="23" border="0" alt="" /></td> </tr> <tr> <td colspan="7"><img name="index_r17_c5" src="images/index_r17_c5.gif" width="216" height="11" border="0" id="index_r17_c5" alt="" /></td> <td rowspan="3"><img name="index_r17_c13" src="images/index_r17_c13.gif" width="116" height="59" border="0" id="index_r17_c13" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="11" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><a href="https://twitter.com/Gaz_Yt" target="_blank" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('index_r18_c5','','images/index_r18_c5_f2.gif',1);"><img name="index_r18_c5" src="images/index_r18_c5.gif" width="141" height="21" border="0" id="index_r18_c5" alt="" /></a></td> <td rowspan="2" colspan="4"><img name="index_r18_c8" src="images/index_r18_c8.gif" width="75" height="48" border="0" id="index_r18_c8" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="21" border="0" alt="" /></td> </tr> <tr> <td colspan="3"><img name="index_r19_c5" src="images/index_r19_c5.gif" width="141" height="27" border="0" id="index_r19_c5" alt="" /></td> <td><img src="images/spacer.gif" width="1" height="27" border="0" alt="" /></td> </tr> </table> </body> </html>
Dites moi ce qu'il faut que je modifie (excusez-moi pour ce long message à cause du code).
Merci de votre aide et bonne journée.
PS: Je sais que je devrais faire sans iframe, mais pour ce genre de petit site je préfère avec ;) |
Forum-webmaster | Actionné par YaBB SE
© 2001-2003, YaBB SE Dev Team. Tous droits réservés.
|