RDV+DIAL chat illimit� dans ta r�g!
no save
Assistance
Achat
News

Forum | webmastering
bouton pour imprimer une autre page
alaintrt, le sam. 10 févr. 2007 à 23:35:22
Bonjour a tous

pour imprimer une page stockée à partir de la page affichée , j' utilise le code suivant:

<script type="text/javascript">
if(navigator.appName=='Microsoft Internet Explorer')
{
document.write('<a href="javascript:parent.imprim.focus(); window.print()">Imprimer</a>');
document.write('<iframe src="carteartigaous.htm" style="width: 0; height: 0" id="imprim" name="imprim"></iframe>');
}
else if(navigator.appName=='Netscape')
{
document.write('<a href="javascript:parent.imprim.print();">Imprimer</a>');
document.write('<iframe src="carteartigaous.htm" style="width: 0; height: 0; visibility: hidden" id="imprim" name="imprim"></iframe>');
}
else
{
document.write('');
}
</SCRIPT>


j' aimerais pouvoir remplacer la mention "Imprimer" par un bouton
qui peut m ' expliquer comment modifier le code ??

merci pour vos propositions Configuration: Windows XP
Firefox 2.0


Gihef
févr. 07
Suivant
REPONSES
Gihef
févr. 07
alaintrt
févr. 07
laforme
mai 07
Spounet
sept. 08
Version Web
Réalisé par RedShift
no save