The Best Widget To Greet Your Visitors [Greet Box]

The easiest way to turn your first time visitor in to a regular and returning visitor is to greet them personally. This widget shows a different greeting message to your visitors depending on their referrer url. You would have seen messages like these in many of the wordpress blogs (but may be not in Blogger blogs):


Live Demo (original WP style)


Live Demo (Bloggerized Widget)


Live Demo (Bloggerized Widget)

The purpose of adding this widget to your blog:
* Greet your visitors with a reference to the site from which they came
* Request them to subscribe for your blog
* Request them to stumble or tweet your post and invite them for a long term professional relationship

Instructions to add this widget:
The best position for this widget is just above your post-title. Log in to Blogger -> Layout -> Add a Gadget and select it as “HTML/JavaScipt”
Now paste this code in to it:

<script src=”http://bloggergreetbox.googlecode.com/files/TextToBeDisplayedDiv-minv3.0.js”
type=”text/javascript”>
</script>
<div id=”mainDisplayDiv” style=”background:#F8F8FF;border:1px solid #B6AFA9;display:none”>
<div style=”float: right; margin-right: 5px; margin-top: 5px;”>
<href a=”#” onclick=”closeGreetBox(‘7’)”><img border=”0″ alt=”x”
src=”http://img214.imageshack.us/img214/9837/closebutton.gif”/>
</href></div>
<div id=”dynamicContentDisplayed”>
</div>
<script type=”text/javascript”>
// Give your feed url here
var feedURL = “http://feeds2.feedburner.com/bloggerstopnet”;
var dynamicHTMLText = displayRequiredText(feedURL);
document.getElementById(“dynamicContentDisplayed”).innerHTML = dynamicHTMLText;
</script>
</div>
<script src=”http://bloggergreetbox.googlecode.com/files/HideShowDiv-minv3.0.js”
type=”text/javascript”>
</script>
<script type=”text/javascript”>
showHideDiv();
</script>

NOTE: Before saving the widget, replace the link in RED with the feed url of your own blog.

Credits
Original WordPress plugin by Thaya Kareeson. Bloggerized by Classic Tutorials

Share you exerience with this widget here

22 thoughts on “The Best Widget To Greet Your Visitors [Greet Box]

  1. wow. very very nice widget. i added it to my blog. one question though theres no option to exit out of the widget like you have in your examples. Like there is no X in the corner. any tips

  2. I have updated the code a few hours ago, so the present code in the post above does have a button to close. Please try it agian. The image closebutton.gif is the button (X) being used.

  3. @Kytro
    Just checked your blog, you are presently using the previous code without a closing button. Simply replace that code with this new one and that button will appear.

  4. Hey Sai,
    I am impressed with your widget, but is there a way that you could give us a bit more control over what's being displayed, like maybe a custom icon and a way to style the box to match our blog's style?

  5. Hey Sai,
    I've just got one problem…I just can't get an externally hosted javascript file to work…could you help me with that? I tried both using Wuala and MyDataNest, both of which allow direct file hosting…but no luck. I'll let you know if I have any luck.

  6. I was looking at you wbsite,Michael Vick Jersey which is wonderful, and noticed that you have a postcard published by my cousin, Mathew Gardner. I am currently researching our family history and wondered if you had Authentic NFL Jerseys Cheap the original postcard and any other information whih has not been published on your website.

    I have some information which I would be happy to furnish if you wish to get in touch.Cheap Steelers JerseysLooking forward to hearing from you.
    Donald Driver Jersey
    Ray Nitschke Jersey
    Paul Hornung Jersey
    Bart Starr Jersey
    B.J. Raji Jersey

    A.J. Hawk Jersey
    Ryan Grant Jersey
    Aaron Kampman Jersey
    Tony Romo Jersey
    Miles Austin Jersey
    Jason Witten Jersey
    DeMarcus Ware Jersey
    Felix Jones Jersey

Leave a Reply

Your email address will not be published. Required fields are marked *