Add Pop-Up Warning to Blog. ~ Tips for Bloggers

WELCOME!

This blog contains quick tips for Bloggers. For detailed explanations do visit the main blog at :

Add Pop-Up Warning to Blog.

A reader wanted to know how he could add a pop up warning to his blog which is displayed just before the blog opens.



This can be done using Javascript code. Hence if the viewer has disabled Javascript on his blog this may not work. Also many viewers have pop-up blockers in place which may also prevent the display of this mesage.



To add it in your blog follow these steps :

1. Login at Blogger.com.

2. On the Blogger Dashboard which opens for a successful login click the 'Layout' link.

3. The Page Elements subtab of Template tab will open.

4. Click the Edit Html subtab of Template tab.

5. On the Edit Html subtab scroll down in the Template Code box.

6. Copy the code below :

<script language='JavaScript'>
//
alert (&quot;This is a Demo Pop Up Window where you can put any Messages to viewers!&quot;)
</script>


7. Paste the code above between </head> and ]]></b:skin> tags in your template. Replace "This is a Demo Pop Up Window where you can put any Messages to viewers!" with your own message.

8. Save the template.

9. Clear Cache and View Blog.

6 comments:

tallbubba said...

I am trying to add the pop up window but when i get to step seven i can not find, /b:skin, in my template. I am using the TicTac blue template

Anonymous said...

thnx for the trick

cheks900 said...

I love your blog!
one stop research. it's all here.
thank you I learn allot here.

~Germaine~ said...

i'm trying to create a pop up window , but for my blog , i have changed the "layout" to "template" may i know where should i put the text in?

Vin said...

~Germaine~,

Paste the code between :

</style>

</head>

Dead Man said...

man u are wasome . .. . great trick . thanks a lot . i own 10 blogs and have put it in all and viewers are very happy to get notice before blog

CLICK HERE TO LEAVE A COMMENT.



Skip to top of post.

Search Blog Before Commenting

Loading...

Post a Comment

Please use the above Search box to look for solutions before posting your valuable comments.

Comments posted on Tips for Bloggers are moderated and will be approved only if they are on-topic and not abusive. Try not to include website URLs/links in your comments. You can email me : drbhatns at gmail dot com for any blogging question. Thanks,

YATOC - Yet Another Table of Contents.

Loading...
Get This Gadget at YATOC.

Table Of Contents