How to make the "Alert message" or messages when opening / closing the blog







In posting the article my article this time, namely how to install a particular message appears when you open or close the blog page. For friends and master bloggers who already understand the need not continue because although the script is different but I believe the concept is exactly the same. 
For those of you who do not know how to make it please follow these steps: 
Appears at the beginning of open blog 
1. Login to your blog first 
2. Go to the menu design and menu select edit HTML 
3. Please find the following script <head> and place the script below and place it under the code earlier. 

<script language = 'JavaScript'> alert (& quot; Enter your message here .. !! & quot;); </ script>

4. Then SAVE and see the results.

Appears when closing the blog

1. Login to your blog first
2. Go to the menu design and menu select edit HTML
3. Please find the following script <head> and place the script below and place it under the code earlier.


<Script type = 'text / javascript'>
// Alert goodbye
goodbye function () {
alert ( 'Enter your message here .. !!');
}
parent.window.onunload = goodbye;
</ Script>

4. Then SAVE and see the results.

Do not forget to replace the text / code blue above. Good luck... :)


Previous
Next Post »