»
EnglishFrenchVietnamese

Print - Contacter on right-click - JavaScriptBank.com

Full version: jsB@nk » Email » Contacter on right-click
URL: https://www.javascriptbank.com/contacter-on-right-click.html

Contacter on right-click © JavaScriptBank.comThe effect will display a contacting form when user right-click on website.

Full version: jsB@nk » Email » Contacter on right-click
URL: https://www.javascriptbank.com/contacter-on-right-click.html



CSS
<style>.cont TABLE TD{color: white;bacground-color: #0000ff;}</style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript><!-- Beginning of JavaScript -// Turn source-code-thieves into source-code-buyersfunction buttoncheck(e) {if (document.all && event.button==2) {document.all.orderwindow.style.visibility="visible"//alert("Hay lien he qua e-mail")return false}if (document.layers && e.which==3) {document.orderwindow.visibility="visible"//alert("Hay lien he qua e-mail")return false}}function sendmail() {if (document.all) {document.all.orderwindow.style.visibility="hidden"document.forms[0].submit()}if (document.layers) {document.orderwindow.visibility="hidden"document.orderwindow.document.forms[0].submit()}}function closewindow() {if (document.all) {document.all.orderwindow.style.visibility="hidden"}if (document.layers) {document.orderwindow.visibility="hidden"}}if (document.layers) {document.captureEvents(Event.MOUSEDOWN);}document.onmousedown=buttoncheck;// --> </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM action=mailto:[email protected]><DIV id=orderwindow style="LEFT: 220px; POSITION: absolute; TOP: 10px; VISIBILITY: hidden;"><TABLE border=0 cellPadding=4 cellSpacing=0 width=300 class=cont bgcolor=#0000ff>  <TBODY>  <TR>    <TD align=middle bgColor=#0000aa colSpan=2><B>Your website is really cool.<BR>Contact us</B></TD></TR>  <TR>    <TD align=right>Last name:</TD>    <TD align=left>    <INPUT maxLength=40 name=lastname size="20"></TD></TR>  <TR>    <TD align=right>First name:</TD>    <TD align=left>    <INPUT maxLength=40 name=firstname size="20"></TD></TR>  <TR>    <TD align=right>Country:</TD>    <TD align=left>    <INPUT maxLength=40 name=country size="20"></TD></TR>  <TR>    <TD align=right>e-Mail:</TD>    <TD align=left>    <INPUT maxLength=40 name=email size="20"></TD></TR>  <TR>    <TD align=right><INPUT onclick=sendmail() type=button value="Send"></TD>    <TD align=left><INPUT onclick=closewindow() type=button value="Reset"></TD></TR></TBODY></TABLE></DIV></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->