- '<' becomes '<'
- '>' becomes '>'
- '"' (double quote) becomes '"'
- ''' (single quote) becomes '''
- '&' becomes '&
Monday, 4 June 2012
Encode/decode HTML entities
Tuesday, 22 May 2012
HTML HexaDecimal Color Code Chart

| #FFFFFF | #FFFFCC | #FFFF99 | #FFFF66 | #FFFF33 | #FFFF00 |
| #FFCCFF | #FFCCCC | #FFCC99 | #FFCC66 | #FFCC33 | #FFCC00 |
| #FF99FF | #FF99CC | #FF9999 | #FF9966 | #FF9933 | #FF9900 |
| #FF66FF | #FF66CC | #FF6699 | #FF6666 | #FF6633 | #FF6600 |
| #FF33FF | #FF33CC | #FF3399 | #FF3366 | #FF3333 | #FF3300 |
| #FF00FF | #FF00CC | #FF0099 | #FF0066 | #FF0033 | #FF0000 |
| #CCFFFF | #CCFFCC | #CCFF99 | #CCFF66 | #CCFF33 | #CCFF00 |
| #CCCCFF | #CCCCCC | #CCCC99 | #CCCC66 | #CCCC33 | #CCCC00 |
| #CC99FF | #CC99CC | #CC9999 | #CC9966 | #CC9933 | #CC9900 |
| #CC66FF | #CC66CC | #CC6699 | #CC6666 | #CC6633 | #CC6600 |
| #CC33FF | #CC33CC | #CC3399 | #CC3366 | #CC3333 | #CC3300 |
| #CC00FF | #CC00CC | #CC0099 | #CC0066 | #CC0033 | #CC0000 |
| #99FFFF | #99FFCC | #99FF99 | #99FF66 | #99FF33 | #99FF00 |
| #99CCFF | #99CCCC | #99CC99 | #99CC66 | #99CC33 | #99CC00 |
| #9999FF | #9999CC | #999999 | #999966 | #999933 | #999900 |
| #9966FF | #9966CC | #996699 | #996666 | #999933 | #999900 |
| #9933FF | #9933CC | #993399 | #993366 | #993333 | #993300 |
| #9900FF | #9900CC | #990099 | #990066 | #990033 | #990000 |
| #66FFFF | #66FFCC | #66FF99 | #66FF66 | #66FF33 | #66FF00 |
| #66CCFF | #66CCCC | #66CC99 | #66CC66 | #66CC33 | #66CC00 |
| #6699FF | #6699CC | #669999 | #669966 | #669933 | #669900 |
| #6666FF | #6666CC | #666699 | #666666 | #666633 | #666600 |
| #6633FF | #6633CC | #663399 | #663366 | #663333 | #663300 |
| #6600FF | #6600CC | #660099 | #660066 | #660033 | #660000 |
| #33FFFF | #33FFCC | #33FF99 | #33FF66 | #33FF33 | #33FF00 |
| #33CCFF | #33CCCC | #33CC99 | #33CC66 | #33CC33 | #33CC00 |
| #3399FF | #3399CC | #339999 | #339966 | #339933 | #339900 |
| #3366FF | #3366CC | #336699 | #336666 | #336633 | #336600 |
| #3333FF | #3333CC | #333399 | #333366 | #333333 | #333300 |
| #3300FF | #3300CC | #330099 | #330066 | #330033 | #330000 |
| #00FFFF | #00FFCC | #00FF99 | #00FF66 | #00FF33 | #00FF00 |
| #00CCFF | #00CCCC | #00CC99 | #00CC66 | #00CC33 | #00CC00 |
| #0099FF | #0099CC | #009999 | #009966 | #009933 | #009900 |
| #0066FF | #0066CC | #006699 | #006666 | #006633 | #006600 |
| #0033FF | #0033CC | #003399 | #003366 | #003333 | #003300 |
| #0000FF | #0000CC | #000099 | #000066 | #000033 | #000000 |
Thursday, 17 May 2012
Social Bookmarking Widget With Egg Sliding Effect
Guide To Adding Social Bookmarking Widget With Egg Sliding Effect :
<script src=\'http://w.sharethis.com/gallery/shareegg/shareegg.js\' type=\'text/javascript\'/><script src=\'http://w.sharethis.com/button/buttons.js\' type=\'text/javascript\'/><script type=\'text/javascript\'>stLight.options({publisher: "bea50586-2b9f-448d-947a-01385f28e305", onhover:false}); </script><link href=\'http://w.sharethis.com/gallery/shareegg/shareegg.css\' media=\'screen\' rel=\'stylesheet\' type=\'text/css\'/>
<div style=\'position: fixed; bottom: 2%; left: 2%;\'><div class=\'shareEgg\' id=\'shareThisShareEgg\'/></div><script type=\'text/javascript\'>stlib.shareEgg.createEgg('shareThisShareEgg', ['facebook','twitter','googleplus','linkedin','blogger','stumbleupon','sharethis'],{title:'<data:blog.pageTitle/>',url:'<data:blog.url/>',theme:'shareegg'});</script>
That's all.... Don't forget add comment in comment box...
Sunday, 13 May 2012
Premuim Social Traffic popup plugin for blogger
A Social Traffic Pop Up with timer function
Boost your blog traffic with your exiting readers help
I have provide most awaited Social traffic Popup widget for blogger When the Facebook Like box or +1 button placed in your blogs sidebar, It\'ll not be a attractive place to force the readers to click them.But When a +1 button or Like box popes Up (without annoying them) The readers will surely click on buttons.Also you can add Email subscription box in the pop up too.
Features
- Combined reach of over 1.4 BILLION social media accounts.
- Completely locks all page usability until popup is closed or a social action is completed.
- Popup stays centered as the user scrolls up and down.
- Optional close button.
- Optional advanced close features allow visitors to close the popup by clicking outside of the popup area or by pressing the escape key.
- Cookies remember which users have not completed a social action.
- Like Button and Google +1 with dependent URL configurations.
- Support for both of Twitters Follow and Tweet buttons.
- Setup takes literally seconds!
- 100% customizable CSS.
- Configure everything from the beautiful built in settings panel.
- Set background opacity right from the settings.
- Works on all sites big and small.
- Proven to induce more social shares = more traffic & better rankings = more $$$$
1.Install The java script
First log in to your Blogger account, Then Go to.. Template tab and then BackUp your template in case if you accidentally delete or add a wrong code.Then Click Edit HTML and search for </head> tag ( Ctrl+F ) . Add the following code just before it.
If you are familiar with Java Scripts, The comments marked with Red color is for you.<!--Start Social Traffic Pop Up by 7terabyte.blogspot.com --><script src='https://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js' type='text/javascript'/>
<script src='http://dinhquanghuy.110mb.com/jquery.cookie.js' type='text/javascript'/>
<script type='text/javascript'>
var popupStatus = 0;
//loading popup with jQuery magic!function loadPopup(){
centerPopup();
//loads popup only if it is disabledif(popupStatus==0){
$("#backgroundPopup").css({
"opacity": "0.7"
});
$("#backgroundPopup").fadeIn("slow");
$("#popupContact").fadeIn("slow");
popupStatus = 1;
}
}
//disabling popup with jQuery magic!function disablePopup(){
//disables popup only if it is enabledif(popupStatus==1){
$("#backgroundPopup").fadeOut("slow");
$("#popupContact").fadeOut("slow");
popupStatus = 0;
}
}
//centering popupfunction centerPopup(){
//request data for centeringvar windowWidth = document.documentElement.clientWidth;
var windowHeight = document.documentElement.clientHeight;
var windowscrolltop = document.documentElement.scrollTop;
var windowscrollleft = document.documentElement.scrollLeft;
var popupHeight = $("#popupContact").height();
var popupWidth = $("#popupContact").width();
var toppos = windowHeight/2-popupHeight/2+windowscrolltop;
var leftpos = windowWidth/2-popupWidth/2+windowscrollleft;
//centering$("#popupContact").css({
"position": "absolute",
"top": toppos,
"left": leftpos
});
//only need force for IE6
$("#backgroundPopup").css({
"height": windowHeight
});
}
//CONTROLLING EVENTS IN jQuery$(document).ready(function(){
if ($.cookie("anewsletter") != 1) {
//load popupsetTimeout("loadPopup()",5000);
}
//CLOSING POPUP//Click the x event!$("#popupContactClose").click(function(){
disablePopup();
$.cookie("anewsletter", "1", { expires: 7 });
});
//Click out event!$("#backgroundPopup").click(function(){
disablePopup();
$.cookie("anewsletter", "1", { expires: 7 });
});
//Press Escape event!$(document).keypress(function(e){
if(e.keyCode==27 && popupStatus==1){
disablePopup();
$.cookie("anewsletter", "1", { expires: 7 });
}
});
});
</script>
<!--End Social Traffic Pop Up by 7terabyte.blogspot.com -->
2.CSS Code
After the Java script, Search for this code ]]></b:skin> Just before it add the following code.
#popupContactClose{
cursor: pointer;
text-decoration:none;
}
#backgroundPopup{
display:none;
position:fixed;
_position:absolute; /* hack for internet explorer 6*/
height:100%;
width:100%;
top:0;
left:0;
background:#000000;
border:1px solid #cecece;
z-index:1;
}
#popupContact{
border-top:5px solid #53A9FE;
border-left:5px solid #53A9FE;
border-bottom:5px solid #53A9FE;
border-right:5px solid #53A9FE;
border-radius:30px;
-moz-border-radius:30px;
-webkit-border-radius:30px;
display:none;
position:fixed;
_position:absolute; /* hack for internet explorer 6*/
height:384px;
width:408px;
background:#FFFFFF;
z-index:2;
padding:12px;
font-size:13px;
}
#popupContact h1{
text-align:center;
color:#6FA5FD;
font-size:22px;
font-weight:700;
border-bottom:1px dotted #D3D3D3;
padding-bottom:2px;
margin-bottom:20px;
}
#popupContactClose{
font-size:14px;
line-height:14px;
right:6px;
top:4px;
position:absolute;
color#A30101;
font-weight:700;
display:block;
}
3.The Gadgets to appear
You can add anything that fit with the popup box. Such as a feedburner subscription box, Like box, Share buttons or anything. Just with the above format.And this code should be apear Just before </body> tag.
<div id='popupContact'>
<a id='popupContactClose'>
<img alt='x' height='20' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUI5vBI43OmWHrCM4TdCnsS9UqlxGAiOSGS_gVfqWZkQVrJlQjWXuO7b61L2lRUK-VRn9VeQ9Dbdt5emTbrjMTbSmYPywnTjPOU1PgbCIIg34S47lfwhSbvbUSDanXABEOEUkWfVEzuOwz/s800/Button-Close-icon.png' width='20'/>
</a>
<h1>PopUp Title</h1>
Code of the gadget you need
<br/>
<p style=" line-height:0px; font-size:10px; font-weight:bold; text-align:center;"><a style="color:#D3D3D3;" href="http://www.blogtrickstream.com/2011/12/one-time-popup-for-blogger-like-box.html">Get This</a></p>
<p id='contactArea'/>
</div>
<div id='backgroundPopup'/>
Just replace " PopUp Title " with a PopUp title of your choice . Also replace " Code of the gadget you need " with your gadged HTML code, It could be a Like box, +1 button, Subscription box, Welcome message.. or any.
Thats all...!!!
Saturday, 7 April 2012
"Do You Like This Story? Widget
Add This Widget to BlogSpot Blogs
I have kept the installation process extremely easy so feel comfortable to try it.- Go To Blogger > Design > Edit HTML
- Backup your template
- Check the "Expand Widget Templates" box
- Search for,
<data:post.body/>5. Just below it paste the following code,
Now make these changes,
<b:if cond='data:blog.pageType == "item"'>
<style>
form.emailform{
margin:20px 0 0;
display:block;
clear:both;
}
.mbttext{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVhGkNezVuusrh5fU_hajh96e1BPfCi6iPrz7Av1VAKRhdRoNyD8msw-CTYPv7L8D6Wjo0KPSRrIwLwq0H-3gbRfRtqqNLhZSFPU39Zi3uPrD4YZjPScuwfTggLc3rrbFOF-HT_0FyBtP9/s28/w2b-mail.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.mbtbutton{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}
#doulike-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#doulike-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#doulike-outer td{
padding:3px 0;
}
</style>
<div id='doulike-outer'>
<div id='doulike'>
<table width='100%'>
<tbody>
<span style='font-style: italic; font-size: 30px; font-family: arial,sans-serif, verdana; color:#FF683F;'>Do you Like this story..?</span>
<tr>
<td>
<div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='button_count' send='true' show_faces='false' width='300'/>
</td>
</tr>
<tr>
<td align='left'> <p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Get Free Email Updates Daily!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform' method='post' onsubmit='window.open('http://feedburner.google.com/fb/a/mailverify?uri=7terabyte', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='7terabyte'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='mbttext' name='email' onblur='if (this.value == "") {this.value = "Enter your email...";}' onfocus='if (this.value == "Enter your email...") {this.value = ""}' type='text' value='Enter your email...'/>
<input alt='' class='mbtbutton' title='' type='submit' value='Submit'/>
</form>
</td>
<td><p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Follow us!</p>
<a href='http://feeds.feedburner.com/7terabyte' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_h0irypwoPxjldxyWPzLgbR0ggqGxosJFI4WBsOvMPC3xWSUVoVfAsoa5sw9Ml_FEPYgfwlgXGFnAP7jbL4FAqZQ70QMJuOtenYQoQMENCSSjgQOcsHA9K4XCMQY-ZxhLrbpkcV_LTSM7/s40/w2bRSS+.png'/></a>
<a href='http://twitter.com/7terabyte' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMs27MK6icTNoaN96esfYkXFCyb7Gz58-UeysZNaTEKxCezYTb5bfG-n1dEqO6mQdeGfa-LjdF8jbRdPLVYtmNQer20wRYzg-00exRhWthnGqDgcgV6l4Mo1e768l_QkYnM_iOoSZ3yM0_/s40/w2bTwitter.png'/></a>
<a href='http://www.facebook.com/7terabyte' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8TnyPnUcQlIoMIDls8OMVUYN49F_-l-M76C787UZSPdhnpxYG_ZOA3cZniIsYrFzYT123nXdR2RSZHHg19neeGv0g950QQBpwtOza8cK-hMOcxW1zhMZ6rowlcSuNXR4nb9Ml7OEIcRVQ/s40/w2bFaceBook.png'/></a>
</td>
</tr>
</tbody></table></div></div>
</b:if>
- To change the colour of the "Do you like this story..?" text then simply change #FF683F with a hexadecimal color of your choice.
- Now replace http://feedburner.google.com/fb/a/mailverify?uri=7terabyte with your Feedburner Email Feed link. You can get it by visiting your feedburner account then navigate to Publicize and then to Email Subscriptions.
- Replace 7terabyte with your feed title. It appear at the end of your feed link. In my case it is http://feedburner.google.com/fb/a/mailverify?uri=7terabyte
- Replace orange link with your Feedburner link
- Replace the blue link with your twitter link
- Replace the purple link with your Facebook Like Page link
Thursday, 5 April 2012
Add a Cute Flying Twitter Bird
With Twitter's worldwide popularity and with over 200 million users, generating 65 million tweets a day, it has become a must for every web master to use twitter sharing buttons and applications as much on his web as possible. This lets users to easily tweet our blogs and websites which thereby generates traffic for us in return. Harish of way2blogging has coded a beautiful cute twitter bird that flies from corner to corner of your web page as you scroll up or down. It has a follow me link as well as tweet link. It is compatible with all browsers.
I am sure you will love to see that bird flying. So here goes the demo,
How To Add the Twitter Flying Bird To Blogger?
- Go To Blogger > Design > Edit HTML
- Backup your template
- Search for </body>
- And just above it paste the code below
<script src='http://bloggerblogwidgets.googlecode.com/files/way2blogging.org-tripleflap.js' type='text/javascript'>
</script>
<script type='text/javascript'>
var twitterAccount = "7terabyte";
var tweetThisText = " <data:blog.pageTitle/> : <data:blog.url/> ";
tripleflapInit();
</script>
5. Replace 7terabyte with your twitter account username.
6. Save your template and you are done!
7. View your blog to see it flying. :)
If you faced any problem just let me know. Have fun!
Facebook Social Bookmarking Widget for you
I hope most of you have downloaded the free Social Media Buttons which are designed just how Facebook Buttons are designed. In today's tutorial we will learn how you can add those buttons to your blogger blogs. The steps are similar to the earlier Social Bookmarking widget that we shared.
Steps To Be Followed
- Go To Blogger > Design > Edit HTML
- Back up your template
- Check the Expand Widget Templates box
- Then click Ctrl + F and in the browser search box paste this,
data:post.body5. Now Just above this code paste the code below,
<b:if cond='data:blog.pageType == "item"'>
<table border='0'>
<tr>
<td>
<!--Stumbleupon-->
<a expr:href='"http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank'><img alt='Stumble' src='StumbleUpon Button Link'/></a>
</td>
<td>
<!-- Twitter -->
<a expr:href='"http://twitthis.com/twit?url=" + data:post.url + "&title=" + data:post.title' rel='external nofollow' target='_blank'><img alt='Twitter' src='Twitter Button Link '/></a>
</td>
<td>
<!--DIGG-->
<a expr:href='"http://digg.com/submit?phase=2&url=" + data:post.url' rel='external nofollow' target='_blank'><img alt='Digg This' src='DIGG Button Link '/></a>
</td>
<td>
<!--Email a Friend-->
<a expr:href='data:post.emailPostUrl' expr:title='data:top.emailPostMsg'>
<img alt='' src='EMAIL Button Link'/>
</a>
</td>
<td>
<!--Facebook-->
<iframe allowTransparency='true' expr:src='"http://www.facebook.com/plugins/like.php?href=" + data:post.url + "&layout=standard&show_faces=false&width=100&action= like&font=arial&colorscheme=light"' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; margin-top:16px; height:40px;'/>
</td>
</tr>
</table></b:if>
6. Simply Replace the blue bolded text with button links I shared in last post on Facebook Buttons. Finally save your template and you are done! :>







