Blogger

Greet Box Universal (Blogger) v3.0

by
published on
 
A new version has been released. Get it at Greet Box v4.0
 
For previous versions and descriptions please visit: http://classictutorials.com/?s=greet+box
To try v3.0:
Go to Google.com and search for search term like “techbhroom.blogspot.com” and navigate to this site and you will see a message saying that you came from google. Now try this URL for stumble upon welcome message. Stumble Techbhroom Feature added in this version: The much needed and talked about close button has been provided. This uses cookie. Default cookie expiry time is 7days and can be configurable in the code below. Screenshot:

Code:
<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/blogspot/ct";
 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>
Google Code Page: Just in case. http://code.google.com/p/bloggergreetbox/