Display Thanks message to website visitors

October 2017





You should agree with me that it is very to receive a message thanking your for visiting a website.

In this tips, we will show you to proceed in view to display a thanking message on your website:

JavaScript 1.La

Copy / Paste this code between the <head> </ head> of your html page


<script language="javascript">
function bye ()
(

alert ( "Thank you for visiting my site and see you soon!"), / / edit the text according to you.
)
</ script>
2.Appel Script


To use this feature, simply add the event in the tag onUnload <body>

<body onUnload="bye();">

NB: same must be done on all pages.
Published by deri58. Latest update on November 6, 2016 at 03:23 PM by owilson.
This document, titled "Display Thanks message to website visitors," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).