Home Java Display Thanks Message to Website Visitors

Display Thanks Message to Website Visitors

It can be a nice idea to thank visitors for visiting your website or blog. It creates a good atmosphere in which to gain returning visitors. In this short How-To guide, we will show you how to display this message of thanks on your website using JavaScript.

JavaScript 1.La

Copy / Paste this code between the

head> of your html page

function bye ()

(

alert ( "Thank you for visiting my site and see you soon!"), / / edit the text according to your wishes.

)

script>

2.Appel Script

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

NB: You must complete these steps on all pages.

  • Java

LEAVE A REPLY

Please enter your comment!
Please enter your name!