This Is A Sample Of Sticky Post

The Problem is: to do this trick, we must use HTML code to make up the text... But don't worry, if you are not capable with HTML Codes, there are simple and fast way to make your sticky post without learn it. Use your "New Post" to make a sample of your sticky post, set the display as close as your real post, use the Preview to check your sticky post display then copy-paste into your content collumn text add gadget.

Learn how to make this sticky post in

JavaScript - Small Tips II (How To Make An Alert Message Pop Up Box)

>> Friday, April 30, 2010

Before we go any further to discuss this JavaScript - Small Tips II, I must remain you as in JavaScript I, that at least there are 2 think we must be consider to use the JavaScript apps , because to many JavaScript in your template will slowing down your web page to load. Besides that, for security reason, many user set their browser to disable JavaScripts. To resolve these problem, we must be wise to choose which the JavaScript that will be install into our template (choose the appropriate and useful JS apps) and use the "warning message" that we using JavaScript .

How To Make An Alert Message With JavaScript.

The functions of an alert message is to provide announcements, information or warning to the guests before they go to see or read the entire contents of our site.
There are a few display an alert message that we can create, an alert message box which only has a button 'OK', "OK" button and "cancel" to divert to other sites, and an alert message box with a dialog box.

Note: This tricks maybe annoying to some people, because this pop up box will STOP our browsing activity, we will not be able to do anything until we execute this pop up box (click OK or X).

An Alert Message Box With 'OK" Button.

We usually seen this message on "adult" or "serious" sites, the messages give warning to their visitor about the content of the sites and their restriction or limitation.
To create an alert message box, login to your account, go to Template -> Page Elements -> Add a Page Element in your left sidebar or post body area, and select HTML/JavaScript. And paste this code shown below.

<script type="text/javascript">
alert('You are about to enter our "serious" site. This site contains violence and sadistic material, persons under 18 years old are prohibited ... Beware!')
<noscript>Enable javascript in your browser to view an important message.</noscript>
Just change the Red words with your message..!, this words will be displayed as a pop up alert box when the visitors view your site / blog. The Purple words will show up when our guests disable their Javascript on their browser.
Look at this example below..

I put this "alert message" page element right under my header. This alert message box just for an information cause both choices, click "OK" button or click "X" will bring our visitor directly into our site (continuing to open our site).

An Alert Message Box With Confirmation ( "OK" and "Cancel" ) Button

For any reasons, sometimes we need to give our guests a choice not to continuing or cancel to visiting our website / blog. If our guests prefer to cancel, then they will be redirect into another URL address.
So if we want to do this trick, go to Template -> Page Elements -> Add a Page Element in your left sidebar or post body area or even below your header, and select HTML/JavaScript and Paste this code below.

<script type="text/javascript">
confirm('This site contains sadistic materials. Are you sure you want to continue?');
if (confirm('This site contains sadistic materials. Are you sure you want to continue?')) {
window.location = "";
else {
window.location = "";
Change the Red words with your message..!, the Blue URL is the URL destination address when our guests click the "OK" button, and the Purple URL is the URL destination address when our guests click the "cancel" button or click "X".

An Alert Message Box With Dialog Form

Besides give a warning or information to our guest, with this simple Javascript trick below, we can build a warning or information message + dialog form. In this example below, This trick is to give a warning to our guest, knowing the name, and give a welcome message. It,s a rather weird isn't it, but this just a sample, you can created better than this, I just want to share an Idea...

First Script
<script type="text/javascript">
alert('You are about to enter our "serious" site. This site contains violence and sadistic material, persons under 18 years old are prohibited ... Beware!')

var yourName = prompt("Please, write your name first...!", "Reader");

<noscript>Enable javascript in your browser to view an important message.</noscript>
<script type="text/javascript"></script>
The way what we done it, is the same with both  How To Make An Alert Message With JavaScript. above, I put the FirstScript page element below my header. Because this is a dialog box, of course we must have a follow up, to continuing the action, So I put a second script  in top of my post body as my welcome message.

Second Script
Thank you <script type="text/javascript">document.write(yourName)</script>! Feel free to look around. If you like what you read, please mention us in your post or link to this site. Enjoy your visit <script type="text/javascript">document.write(yourName)</script>
So this is what we got with those trick.
When first opened our site or blog, there will be a pop up box warning message just like the first trick,

after click "OK" or "X" button, there will be shown another pop up dialog box like this,

If the Guest write their name into the dialog box (eg. Mc4tur) and click "OK", then they will be brought to continuing opened our site with a welcome message in the place where we put the second script page element.

Well that's all, you can combined those tricks or make a modification (eg. put into the post). but please remember choose wisely because of the disadvantage of the JS tricks.


direk izle May 1, 2010 at 6:54 AM  

Thanks for admin.
Very nice.

Tutorijali May 3, 2010 at 5:22 AM  

Thank you for nice tips!is it possible to create meta tags and meta description for blogger? its important thing for SEO

Mc4tur May 3, 2010 at 8:57 AM  


Hi Tutorijali.. yes, Sure it is possible to create meta tags and meta description for blogger, and I have done for this blog too.

├žizgi film izle May 5, 2010 at 3:25 AM  

A bit complicated, but very good information.

internet marketing melbourne December 12, 2010 at 10:32 PM  

I admire the valuable information you offer in your articles. I will bookmark your blog and have my friends check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

Anonymous,  December 23, 2010 at 1:20 PM  

When I created the Alert Message with the OK button, I did all the HTML and when I checked my Blog, no message popped up on the screen. What am I doing wrong?

Free Spam Blocker January 5, 2011 at 12:56 PM  

Social media is a great way to increase traffic. But like other ways, you have to know before what you do. That is to say, you have to know your target, your objectives and how to reach them.

Seo Company February 23, 2011 at 4:47 AM  

I am looking new blogs for new This Is A Sample Of Sticky Post tips and hints and services I Saw This comment on this blog.

Cursos de ingles en el extranjero April 12, 2011 at 7:28 AM  

This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it.

Agenzie hostess torino June 27, 2011 at 2:35 AM  

great post! Thanks for sharing such a good information, Brilliant concept to encourage bicycling! linking is very useful thing you have really helped lots of people who visit this blog and provided them this usefull information.

Agenzie di modelle June 29, 2011 at 1:31 AM  

Nice information, many thanks ............! the usefulness and significance is overwhelming. Thanks again and good luck!.

iPhone application development July 4, 2011 at 6:49 AM  

Progressive jave tips! Thanks a lot!

Rackmount LCD July 4, 2011 at 10:51 PM  

I was wondering if you can have the warning alert come up for only the main home page instead of showing up every time you view posts in the archive? I put one on mine and found it annoying (but funny) because I kept having to hit 'ok'- or maybe a check box for the option don't show me this again while they are on for that session? just a thought- don't know if that is possible.

How to make money online August 5, 2011 at 5:01 AM  

I actually came onto your website and read just a few information. I like your kind freelance writing and that i need to return there over again definitely but truly.

accident claims company August 10, 2011 at 5:00 PM  

Nice information really helpful share. I also want to try this one. I really appreciate your effort in sharing this information to us.

Stacey August 18, 2011 at 5:03 AM  

Pretty impressed by the quality of material on the website. You have a lot of good resources here. I know I will visit this blog often.iPad Developer

whiplash claims August 25, 2011 at 7:47 PM  

That's a great point to bring up. I offer the thoughts above as general inspiration.

Tourism Authority of Thailand Medical Travel and Information September 28, 2011 at 6:25 AM  

This is a very appreciable post I and other people also like your post I appreciate your work which you done keep doing hard working for your bright future.

what is an iva October 3, 2011 at 11:25 PM  

Its a great opportunity.. Thank you.

whiplash compensation October 20, 2011 at 11:10 PM  

Excellent article. Great point to bring this up..

Cheap Flights to Lagos October 27, 2011 at 11:18 AM  

It’s a very nice post of you . you doing a good job keep it up its very beneficial for us and it’s a latest information for us

locksmith las vegas November 7, 2011 at 9:37 PM  

Nice and informative article about how to create meta tag on blogger,Thanks for giving this important blog.

VA Wedding Photographer November 8, 2011 at 4:29 AM  

I do welcome your treasured thought. I am enchanted to know your valued intelligence. For more information I will be in touch.

Flights to Lagos November 15, 2011 at 2:40 PM  

This was a conviction be told great read, thanks for captivating the time to put it together! Touched on some very good...

Web Design Company November 17, 2011 at 2:48 AM  

This is not necessarily a must-do, and neither is it a best practice, but it could come in handy at times. Thanks for giving this important blog.

ucurum dizisi izle December 17, 2011 at 12:48 AM  

I actually came onto your website and read just a few information. I like your kind freelance writing and that i need to return there over again definitely but truly.

Anonymous,  December 19, 2011 at 3:10 PM  

This is a very useful website and I have found good information here and I really appreciate the efforts of the writer of this essay for sharing nice ideas. Thanks!

Interface Talent

debt management companies December 20, 2011 at 9:40 PM  

Thanks a lot for that a fantastically amazing post!

Anonymous,  January 13, 2012 at 1:22 AM  

There are undoubtedly a great deal of particulars like that to take into consideration. Each one is very good pints to take into consideration with regard to. I now consider the feelings above because standard ideas.

Best Coffee Maker 2012

breast augmentation Adelaide January 18, 2012 at 3:28 AM  

I really love to read this post and I am glad to find your distinguished way of writing the post. It shares some very useful points. Thanks and Regards.

Anonymous,  February 2, 2012 at 2:26 AM  

That of a wonderful post it is been recently. Thanks for you and expect much more quantity of blogposts such as these. Thank you very much.

mayonnaise cake

Hard Anodized Cookware March 11, 2012 at 4:15 PM  

I wanted to thank you for this great read article! I definitely enjoyed every little bit of it.

homeopathic adhd remedies March 28, 2012 at 2:58 AM  

It's such an honor to offer the opportunity to sign up for the debate of this excellent web log! I wish to prolong my thank you for this kind of.

ny car leasing April 1, 2012 at 5:58 PM  

This is a great post! I like this topic. This site has lots of advantage! I found many interesting things from this site. It helps me in many ways. Thanks for posting this again.

buy attic ladders April 19, 2012 at 2:48 AM  

If you want to start to see the mind-blowing article together with real facts and statistics, it is really huge has an effect on upon viewers and i also admire your writing ability of the publisher.

best 42 inch lcd tv April 22, 2012 at 8:58 PM  

Thank you for giving people so excellent post. We'll your site help constantly.

attic stairs May 24, 2012 at 8:24 PM  

Even if you shared or posted a small post here,the quality of the article is really good. I may say thank you so much for this tips.

Interface Talent Network Reviews May 28, 2012 at 11:41 PM  

I will look forward to this page for more reading valuable content in the future. Thank you for sharing this blog post!

Clarence H. July 29, 2012 at 7:46 PM  

Totally, the article is really the greatest on that valuable subject matter. I fit in with your conclusions and certainly are going to thirstily expect your following updates. Just saying thanks are able to not merely be enough, for the amazing quality in your writing.

Custom Lapel Pins September 15, 2012 at 1:37 PM  

I like your website, Excellent efforts. i find unique content here.

calldrin25 January 6, 2013 at 11:30 PM  

onion fonts

I am visited many other blog site and read attentively your each post. Afrer reading your post i could understand that the content is most simple and great. Thank you for your great share. Also this is my 1st visit at your site and after visiting your site i enjoyed.

Farenx design January 31, 2013 at 9:54 PM  

Great amazing things here. I¡¦m very satisfied to look your article. Thanks so much and i am looking forward to contact you.

roof rep May 5, 2013 at 2:17 PM  

Roof Contractors

I am really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.

Launch Business in Delhi February 18, 2015 at 11:21 PM  

Hi, Really great effort. Everyone must read this article. Thanks for sharing.

Post a Comment


  © New Blogger Tips For Us Free Blogger Template by Mc 2010.

Back to TOP