- <!--Dans votre page,par exemple "index.html",collez le code ci-dessous entre <head> et</head>--!>
- <SCRIPT type="text/JavaScript">
- function OuvrirFen(page,nom,option) {
- window.open(page,nom,option);
- }
- </SCRIPT>
- <!--entre <body>et</body>--!>
- <input type="button" value="contact" onClick="OuvrirFen('emel.php','popupcontact','width=50,height=50,top= 270,left=700,menubar=no,status=yes')">
-
- <!-- Créer une page php, exemple "adresse.php" où vous mettrez votre adresse à cacher.--!>
- <?php
- $email1='votreemail@ici.fr';
- ?>
-
- <!--créer un autre page, exemple "emel.php" et collez le code ci-dessous --!>
- <?php
- include_once'adresse.php';
- ?>
- <html><head></head><body>
- <center><p>Envoyer un email</p><br/><input onclick="location.href='mailto:<?php echo $email1;?>'" type="button" value="Contact" title="Nous joindre"></center>
-
- </body></html>
<!--Dans votre page,par exemple "index.html",collez le code ci-dessous entre <head> et</head>--!>
<SCRIPT type="text/JavaScript">
function OuvrirFen(page,nom,option) {
window.open(page,nom,option);
}
</SCRIPT>
<!--entre <body>et</body>--!>
<input type="button" value="contact" onClick="OuvrirFen('emel.php','popupcontact','width=50,height=50,top= 270,left=700,menubar=no,status=yes')">
<!-- Créer une page php, exemple "adresse.php" où vous mettrez votre adresse à cacher.--!>
<?php
$email1='votreemail@ici.fr';
?>
<!--créer un autre page, exemple "emel.php" et collez le code ci-dessous --!>
<?php
include_once'adresse.php';
?>
<html><head></head><body>
<center><p>Envoyer un email</p><br/><input onclick="location.href='mailto:<?php echo $email1;?>'" type="button" value="Contact" title="Nous joindre"></center>
</body></html>