Probleme avec iframe

matt -  
 matt -
salu, je m appelle Matthieu et je viens de tomber sur votre site!!!
Très interressant,
je suis entrain de faire un site en html
j ai un probleme:
j ai mis une IFRAME au milieu de mon document
et je voudrai qu en cliquant sur les liens du document maitre on voit apparaitre ds l iframe le doc qui correspond au lien

cependant la commande target="frame" ne fonctionne pas sur les liens
(j ai bien entendu nommer mon iframe avec le nom "frame")

si vous aviez une reponse a me fournir n hesitez pas, elle sera la bienvenue!!!
merci d avance
matt

5 réponses

  1. kalamit
     
    Salut matt,
    Donne nous l'adresse de ta page, pour que l'on puisse voir dans ton code ce qui ne va pas.

    Kalamit,
    Parle à ma culasse, mon carter est malade. :)
    0
  2. matt
     
    salu
    ben le prob, c que le site que je suis entrain de faire n est pas en ligne!!!
    et je n ai pas la place sur le serveur pour le mettre en ligne tout de suite

    en fait c une nouvelle version d un site qui existe deja
    si tu veux l adresse c www.seeva.fr.st

    je vais essayer d etre plus clair sur mon probleme:

    alors en fait j ai une interface graphique faite sous photoshop et decouper en tableau pour le web!!!
    sa me fait plein d image dans des tableau x
    Dans certains tableau il ya des liens (j ai crée ensuite des page html relative a chaque lien)
    je voudrai que ces pages apparaissent dans l IFRAME quand on clik sur un lien

    j utilise l IFRAME pour eviter que le navigateur recharge tous le site a chaque fois ( et pour eviter d etirer les tableau qd le texte depasse de ceux ci)

    voila je sais si le probleme est exposé plus clairement
    en tt k merci d avoir repondu aussi rapidement
    c cool
    merci
    @+
    matt
    0
  3. kalamit
     
    J'avais bien compris ton probleme dès le début, mais si tu dis que l'option target ne fonctionne pas, c'est que tu as fait une erreur quelque part ! Comme je ne peux pas deviner le source, je ne peux pas t'aider !

    Kalamit,
    Parle à ma culasse, mon carter est malade. :)
    0
  4. matt
     
    ok je suis au taf pour l instant mais des que je rentre je balance le code source soit ici soit sur ton email

    voila
    encore merci
    matt
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. matt
     
    Yep c encor moi, bopn je t ai mis le code, c un peu le bordel parce que les lignes ne sont pas entiere!!!
    si tu as dreamweaver sa devrai le faire!!

    <HTML>
    <HEAD>

    <TITLE>template2</title>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    </head>
    <BODY BGCOLOR=000000 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>

    <br><br>
    <div align="center">
    <TABLE WIDTH=780 BORDER=0 CELLPADDING=0 CELLSPACING=0 bgcolor="000000">
    <!--DWLayoutTable-->
    <TR>
    <TD ROWSPAN=4> <IMG SRC="images/template2_01.gif" WIDTH=32 HEIGHT=61 ALT=""></td>
    <TD COLSPAN=5 ROWSPAN=4> <IMG SRC="images/template2_02.gif" WIDTH=122 HEIGHT=61 ALT=""></td>
    <TD COLSPAN=8 ROWSPAN=2> <IMG SRC="images/template2_03.gif" WIDTH=226 HEIGHT=40 ALT=""></td>
    <TD COLSPAN=3> <IMG SRC="images/template2_04.gif" WIDTH=144 HEIGHT=27 ALT=""></td>
    <TD COLSPAN=4> <IMG SRC="images/template2_05.gif" WIDTH=146 HEIGHT=27 ALT=""></td>
    <TD COLSPAN=2> <IMG SRC="images/template2_06.gif" WIDTH=110 HEIGHT=27 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=27 ALT=""></td>
    </tr>
    <TR>
    <TD width="55" ROWSPAN=3> <IMG SRC="images/template2_07.gif" WIDTH=55 HEIGHT=34 ALT=""></td>
    <TD COLSPAN=4 ROWSPAN=2> <IMG SRC="images/template2_08.gif" WIDTH=211 HEIGHT=21 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=3> <IMG SRC="images/template2_09.gif" WIDTH=71 HEIGHT=34 ALT=""></td>
    <TD ROWSPAN=4> <IMG SRC="images/template2_10.gif" WIDTH=63 HEIGHT=64 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=3 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_11.gif" ALT="" WIDTH=58 HEIGHT=21 border="0"></a></td>
    <TD COLSPAN=2 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_12.gif" ALT="" WIDTH=55 HEIGHT=21 border="0"></a></td>
    <TD width="55" ROWSPAN=2> <a href="#"><IMG SRC="images/template2_13.gif" ALT="" WIDTH=55 HEIGHT=21 border="0"></a></td>
    <TD COLSPAN=2 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_14.gif" ALT="" WIDTH=58 HEIGHT=21 border="0"></a></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=8 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=4> <IMG SRC="images/template2_15.gif" WIDTH=211 HEIGHT=13 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=2> <IMG SRC="images/template2_16.gif" WIDTH=32 HEIGHT=78 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=2> <IMG SRC="images/template2_17.gif" WIDTH=64 HEIGHT=78 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=2> <IMG SRC="images/template2_18.gif" WIDTH=58 HEIGHT=78 ALT=""></td>
    <TD ROWSPAN=4> <IMG SRC="images/template2_19.gif" WIDTH=27 HEIGHT=102 ALT=""></td>
    <TD COLSPAN=15 ROWSPAN=16 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="000000">
    <!--DWLayoutTable-->
    <tr>
    <td width="42" height="19"> </td>
    <td width="494"> </td>
    </tr>
    <tr>
    <td height="27" colspan="2" valign="top" bgcolor="000000"><center>
    <font color="ffffff" size="+2"></font> </center></td>
    </tr>
    <tr>
    <td height="261" valign="top" bgcolor="000000"></td>
    <td valign="top" bgcolor="000000"> <!-- voila le probleme j ai appellé cette iframe : frame
    et quand je met un lien (un peu plus bas) vers une page html existante et qui est situé ds le repertoire courant une page d erreur s affiche!!! le lien est mis pour l image "template2_30"-->
    <IFRAME
    name="frame"
    align="center"
    marginWidth=0
    marginHeight=0
    src="frame.htm"
    frameBorder="no"
    noResize
    width=450
    height=238>
    </iframe>
    </td>
    </tr>
    </table></td>
    <TD height="30"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=2> <IMG SRC="images/template2_21.gif" WIDTH=63 HEIGHT=59 ALT=""></td>
    <TD height="48"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=48 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=6> <IMG SRC="images/template2_22.gif" WIDTH=32 HEIGHT=76 ALT=""></td>
    <TD COLSPAN=5 ROWSPAN=2> <IMG SRC="images/template2_23.gif" WIDTH=122 HEIGHT=24 ALT=""></td>
    <TD height="11"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=4> <IMG SRC="images/template2_24.gif" WIDTH=63 HEIGHT=59 ALT=""></td>
    <TD height="13"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=8> <IMG SRC="images/template2_25.gif" WIDTH=24 HEIGHT=107 ALT=""></td>
    <TD height="19" COLSPAN=3> <a href="#"><IMG SRC="images/template2_26.gif" ALT="" WIDTH=83 HEIGHT=19 border="0"></a></td>
    <TD ROWSPAN=8> <IMG SRC="images/template2_27.gif" WIDTH=15 HEIGHT=107 ALT=""></td>
    <TD ROWSPAN=5> <IMG SRC="images/template2_28.gif" WIDTH=27 HEIGHT=66 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=19 ALT=""></td>
    </tr>
    <TR>
    <TD height="16" COLSPAN=3> <a href="#"><IMG SRC="images/template2_29.gif" ALT="" WIDTH=83 HEIGHT=16 border="0"></a></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=16 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=3 ROWSPAN=2> <a href="musik.html" target="frame"><IMG SRC="images/template2_30.gif" ALT="" WIDTH=83 HEIGHT=17 border="0" ></a></td>
    <TD height="11"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=4> <IMG SRC="images/template2_31.gif" WIDTH=63 HEIGHT=55 ALT=""></td>
    <TD height="6"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=6 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=5> <IMG SRC="images/template2_32.gif" WIDTH=32 HEIGHT=87 ALT=""></td>
    <TD height="14" COLSPAN=3> <a href="#"><IMG SRC="images/template2_33.gif" ALT="" WIDTH=83 HEIGHT=14 border="0"></a></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=14 ALT=""></td>
    </tr>
    <TR>
    <TD height="17" COLSPAN=3> <a href="#"><IMG SRC="images/template2_34.gif" ALT="" WIDTH=83 HEIGHT=17 border="0"></a></td>
    <TD ROWSPAN=3> <IMG SRC="images/template2_35.gif" WIDTH=27 HEIGHT=41 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=3 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_36.gif" ALT="" WIDTH=83 HEIGHT=24 border="0"></a></td>
    <TD height="18"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=18 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=3> <IMG SRC="images/template2_37.gif" WIDTH=63 HEIGHT=59 ALT=""></td>
    <TD height="6"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=6 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=2 ROWSPAN=3> <IMG SRC="images/template2_38.gif" WIDTH=54 HEIGHT=64 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=3> <IMG SRC="images/template2_39.gif" WIDTH=68 HEIGHT=64 ALT=""></td>
    <TD ROWSPAN=3> <IMG SRC="images/template2_40.gif" WIDTH=27 HEIGHT=64 ALT=""></td>
    <TD height="32"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=32 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=5> <IMG SRC="images/template2_41.gif" WIDTH=32 HEIGHT=81 ALT=""></td>
    <TD height="21"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=4> <IMG SRC="images/template2_42.gif" WIDTH=63 HEIGHT=60 ALT=""></td>
    <TD height="11"> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=2 ROWSPAN=4> <IMG SRC="images/template2_43.gif" WIDTH=54 HEIGHT=56 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=4> <IMG SRC="images/template2_44.gif" WIDTH=68 HEIGHT=56 ALT=""></td>
    <TD height="34"> <IMG SRC="images/template2_45.gif" WIDTH=27 HEIGHT=34 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=34 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=8> <IMG SRC="images/template2_46.gif" WIDTH=226 HEIGHT=4 ALT=""></td>
    <TD ROWSPAN=5> <IMG SRC="images/template2_47.gif" WIDTH=55 HEIGHT=62 ALT=""></td>
    <TD width="84" ROWSPAN=4> <IMG SRC="images/template2_48.gif" WIDTH=84 HEIGHT=51 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=4> <IMG SRC="images/template2_49.gif" WIDTH=68 HEIGHT=51 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=4> <IMG SRC="images/template2_50.gif" WIDTH=74 HEIGHT=51 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=4> <IMG SRC="images/template2_51.gif" WIDTH=56 HEIGHT=51 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=4 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=3 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_52.gif" ALT="" WIDTH=58 HEIGHT=18 border="0"></a></td>
    <TD COLSPAN=2 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_53.gif" ALT="" WIDTH=55 HEIGHT=18 border="0"></a></td>
    <TD ROWSPAN=2> <a href="#"><IMG SRC="images/template2_54.gif" ALT="" WIDTH=55 HEIGHT=18 border="0"></a></td>
    <TD COLSPAN=2 ROWSPAN=2> <a href="#"><IMG SRC="images/template2_55.gif" ALT="" WIDTH=58 HEIGHT=18 border="0"></a></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></td>
    </tr>
    <TR>
    <TD ROWSPAN=4> <IMG SRC="images/template2_56.gif" WIDTH=32 HEIGHT=67 ALT=""></td>
    <TD ROWSPAN=4> <IMG SRC="images/template2_57.gif" WIDTH=63 HEIGHT=67 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=7 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=2 ROWSPAN=3> <IMG SRC="images/template2_58.gif" WIDTH=54 HEIGHT=60 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=2> <IMG SRC="images/template2_59.gif" WIDTH=68 HEIGHT=40 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=2> <IMG SRC="images/template2_60.gif" WIDTH=51 HEIGHT=40 ALT=""></td>
    <TD COLSPAN=2 ROWSPAN=2> <IMG SRC="images/template2_61.gif" WIDTH=54 HEIGHT=40 ALT=""></td>
    <TD COLSPAN=3 ROWSPAN=2> <IMG SRC="images/template2_62.gif" WIDTH=67 HEIGHT=40 ALT=""></td>
    <TD width="54" ROWSPAN=2> <IMG SRC="images/template2_63.gif" WIDTH=54 HEIGHT=40 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=29 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=7 ROWSPAN=2> <IMG SRC="images/template2_64.gif" WIDTH=282 HEIGHT=31 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=11 ALT=""></td>
    </tr>
    <TR>
    <TD COLSPAN=12> <IMG SRC="images/template2_65.gif" WIDTH=349 HEIGHT=20 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=20 ALT=""></td>
    </tr>
    <TR>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=32 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=24 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=30 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=10 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=27 HEIGHT=1 ALT=""></td>
    <TD width="24"> <IMG SRC="images/spacer.gif" WIDTH=24 HEIGHT=1 ALT=""></td>
    <TD width="7"> <IMG SRC="images/spacer.gif" WIDTH=7 HEIGHT=1 ALT=""></td>
    <TD width="47"> <IMG SRC="images/spacer.gif" WIDTH=47 HEIGHT=1 ALT=""></td>
    <TD width="8"> <IMG SRC="images/spacer.gif" WIDTH=8 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=55 HEIGHT=1 ALT=""></td>
    <TD width="4"> <IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=54 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=55 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=84 HEIGHT=1 ALT=""></td>
    <TD width="5"> <IMG SRC="images/spacer.gif" WIDTH=5 HEIGHT=1 ALT=""></td>
    <TD width="63"> <IMG SRC="images/spacer.gif" WIDTH=63 HEIGHT=1 ALT=""></td>
    <TD width="59"> <IMG SRC="images/spacer.gif" WIDTH=59 HEIGHT=1 ALT=""></td>
    <TD width="15"> <IMG SRC="images/spacer.gif" WIDTH=15 HEIGHT=1 ALT=""></td>
    <TD width="9"> <IMG SRC="images/spacer.gif" WIDTH=9 HEIGHT=1 ALT=""></td>
    <TD width="47"> <IMG SRC="images/spacer.gif" WIDTH=47 HEIGHT=1 ALT=""></td>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=63 HEIGHT=1 ALT=""></td>
    <TD></td>
    </tr>
    </table>
    </div>
    </body>
    </html>
    0