Sael og blesud
Bon alors, vous avez la possibilité d'utiliser les pseudoframes en php via des includes ou require. Un petit tour sur Google et voilà ...
Ou alors cette solution qui n'est pas tout a fait avec des frames mais bon cela marche et vous êtes libre d'adapter à vos besoins :
frame.htm ( la page qui contient les "frames")
<html>
<body style="margin:0px;">
<table width=100% height=100% cellpadding=0 cellspacing=0>
<tr>
<td width=200px height=100% valign=top>
<iframe width=100% height=100% id=left name="left" src="left.htm" FRAMEBORDER=0 BORDER=0></iframe>
</td>
<td width=* height=100% valign=top>
<iframe width=100% height=100% id=right name="right" src="right.htm" FRAMEBORDER=0 BORDER=0></iframe>
</td>
</tr>
</table>
</body>
</html>
right.htm ( la page de droite de votre page de "frames")
<html>
<div id=page style="height:10px">
<body>
haut de page
<br><br><br><br>... etc ... Bon alors là faut en mettre beaucoup pour avoir la scrollbar ;-)
bas de page
</body>
<div>
</html>
<script>
if(document.body.clientHeight < document.getElementById('toto').offsetHeight){
window.top.document.getElementById('right').height=document.getElementById('toto').offsetHeight+50+'px';
}else{
window.top.document.getElementById('right').height='100%';
}
</script>
Voili voilou ...
Bon courage ...
NB : Si la réponse vous convient merci de l'accepter pour fermer ce thread ...
Sigurjón Bírgir Sigurðssón aka Sjón
Fra en skal en med eyda ologum isapjrenbokka ...
HARDWARE : Partie de l'ordinateur qui reçoit les coups quand se plante le software ...