Display Thanks message to website visitors

March 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.

Related


Published by deri58.
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).