Je me permet de vous déranger à nouveau j'ai trouvé ce code pour un diaporama
<table border="0" width="100%" style="vertical-align: top"> <script LANGUAGE="JavaScript"> var photo=new Array() var texte=new Array() var num=0 var txt=0
photo[38]="./Scan10011.jpg" texte[38]="si ce texte est trop long il depasse la bordure du cadre de legende" photo[39]="./Scan10007.jpg" texte[39]="si ce texte est trop long il depasse la bordure du cadre de legende"
window.onload=new Function("legende.value=texte[txt]") numero=num+1 total=photo.length window.status='Diaporama photo '+numero+' sur '+total function backward(){ if (num>0){ num-- image.src=photo[num]; txt-- legende.value=texte[txt]; numero=num+1 window.status='Diaporama photo '+numero+' sur '+total } } function forward(){ if (num<photo.length-1){ num++ image.src=photo[num] txt++ legende.value=texte[txt]; numero=num+1 window.status='Diaporama photo '+numero+' sur '+total } } </script>
J'ai essayé text-align: justify; overflow: visible j'ai exploré google a fond, impossible de sortir le texte de legende de sa 1ere ligne SVP sauriez-vous comment remplacer cette ligne infinie en un texte de plusieurs lignes