Content feed Comments Feed

How to add alert script to Blogs?

Posted by Wonderful-Tricks
ADVERTISEMENTS


How to add alert script to Blogs?

Have you ever visited a blog in which you open it, it doesn’t bring you to the blog content directly but shows you a message, like the image on the left. Well, every person has different interest of something, like this Alert. Honestly, I don’t really like to add this script alert because it can make the readers uncomfortable. When readers are opening a new page, this alert always appears and readers should always click it. For me, it is really bothering.

How about you? Would you like to add it? If you want to add it, don’t add it too much because it really bothers the visitors.
In order to add script alert facility in our blog follow the below steps:



  • Login into blogger.

  • Click Layout.

  • Click Edit HTML tab

  • Mark Download Full Template. Please save your template first. Always save the template before editing it. It is aimed at anticipating if there is a mistake when you are editing your template. If you make mistake in editing, you still have a back up and be able to return your template normal.

  • Find the code </head>.

  • Copy and paste the following code above of </head>. (change the red sentences with your own sentences).

    <SCRIPT language='JavaScript'>alert("Welcome To My Blog");</SCRIPT>

  • Click Save Template

  • Done and open you blog to see the result.


Your Ad Here

0 comments

Post a Comment

Blogumulus by Wonderful-Tricks

Followers