How to add Pop-up alert box to your website and Blog

This is a quick post.But this is a nice trick which is created using JavaScript. Now I'm going to explain you how to add popup warning or Alert box to your website or blog. You can display a welcome message or a warning message when users come to your site. Warning box might not work in some browsers.Because some viewers have disabled JavaScript in their browsers.Also some viewers use Popup blockers to prevent displaying the pop up boxes.Anyway you can test this on your blog or website.As this tutorial popup box opens,when visitor come to your site.If they did not click on "OK" button or click on "Close" Button,the page will not load.

alert-box



Popup Box to your Blog


You can add a popup window on your blog.Follow bellow easy steps.

1.) Sign in to your Blogger Account.
2.) Go to Template.
3.) Now click on Edit HTML button.
4.) Now find this <head>, HTML tag in your template editor.
5.) Now Paste below JavaScript code just below/after,<head> tag.


<script language='JavaScript'>
//
alert ("This is a Demo Pop Up Window.You can Type here any words which will appear in the Alert Box!!!")
</script>

Replace green color text with your text.

6.) Now Save your Template.
7.) Now clear cache in your browser and view your blog.

If you want to add a popup window on your website simply,put above JavaScript code between <head> and </head>.Now view your website.

That's all.I think that you would like this tutorial.Don't forget to share this post among your friends.Happy and blessing!

Enjoy :)

Pengelola Blog : ABDUL WAHAB

Judul : How to add Pop-up alert box to your website and Blog
Ditulis oleh : Kejutan Internet pada hari
Rating Blog : 5 dari 5
Terima kasih Anda telah membaca artikel tentang How to add Pop-up alert box to your website and Blog
Anda boleh menyebar luaskannya atau mengcopy paste-nya jika artikel ini sangat bermanfaat bagi Blog dan teman-teman anda.
Namun jangan lupa harap memberikan link aktif dofollow yang mengarah ke URL ini ya
http://kejutaninternet.blogspot.com/2013/03/how-to-add-pop-up-alert-box-to-your.html

Dan Terima kasih sekali lagi atas kunjungan Anda.

Kritik dan saran atau apapun bisa anda sampaikan melalui kotak komentar.
Dan mohon maaf jika komentar atau pertanyaan tidak bisa cepat saya respon,
karena Saya tidak bisa selalu online selama 24 Jam.


Mau Di Buatkan Blog Siap Pakai Seperti Ini ?.

Artikel Terkait

Previous
Next Post »