Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* "Contactez nous"
- Crée un message comportant l'adresse mail de l'abeille
- et un texte dans le champ objet
- */
- // Fonction htmlWindow_600
- function htmlWindow_600(pagehtml) {
- htmlWindow = window.open(pagehtml, "minifenetre", "toolbar=yes,status=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=600,height=440")
- htmlWindow.focus()
- }
- // Définition d'une variable contenant le début du code HTML
- var liencontact="<a href='mailto:";
- /* Ajout des différents éléments de l'adresse mail
- dans la variable
- */
- liencontact +="abeille-cyclotourisme";
- liencontact +="@";
- liencontact +="abeille-cyclotourisme.fr";
- liencontact +="?subject=%5BAbeille%5D%20Demande%20d%27information'>";
- // Affichage du lien vers "notice" et du lien mail
- document.write("<a href='https://www.abeille-cyclotourisme.fr/notice.html' target='lien'>Notice</a> - "+liencontact+"Contactez-nous @</a>");
- document.write("<a href='https://www.abeille-cyclotourisme.fr/notice.html' target='lien' onclick='javascript:htmlWindow_600('https://www.abeille-cyclotourisme.fr/notice.html');return false'>Notice - </a>"+liencontact+"Contactez-nous @</a>");
Add Comment
Please, Sign In to add comment