I had given you mashable style social subscribing widget.In this widget I have used a jQuery popup for mashable style social subscribing widget.When any visitor visits your blog then suddenly it pops out without affecting the loading time of your page.While creating this I have used jQuery colorbox.You can easily add this widget by just adding it as a HTML/JavaScript widget.Now lets see some features of this widget
Some Great Features
- It load very fast and does't affect loading speed of your blog.
- Supports all major browsers.
- Contains Facebook Like,Google +1 And Twitter Follow Buttons.
- Addthis.com's social sharing buttons added.
- Seo optimized added nofollow tags to external links.
- It creates Lightbox effects and outcomes
Now lets see how to add this widget to your blog.
How To Add This Widget To Blogger?
- Go to Blogger Dashboard > Design > Page/Edit Layout.
- Then choose Add a Gadget > HTML/JavaScript.
- Paste below code after changing my profile's username with yours.
UPDATE
<style>
/*
ColorBox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
/*
User Style:
Change the following styles to modify the appearance of ColorBox. They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:#000;opacity:0.5 !important;}
#colorbox{
box-shadow:0 0 15px rgba(0,0,0,0.4);
-moz-box-shadow:0 0 15px rgba(0,0,0,0.4);
-webkit-box-shadow:0 0 15px rgba(0,0,0,0.4);
}
#cboxTopLeft{width:14px; height:14px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) no-repeat 0 0;}
#cboxTopCenter{height:14px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXoXoStpqwwAm4Cbq1FyHdGXbtwkSpJAvBRADISHBS_zciPKPLh5QQzjAgcKajD5tYTG_5JVC19f_LsFZbt4CGK2zy9I86MYzrpVvIQvaQKg1TONevZMC6XU42Hr6rQEUnMw5y-t9i60/s400/border.png) repeat-x top left;}
#cboxTopRight{width:14px; height:14px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) no-repeat -36px 0;}
#cboxBottomLeft{width:14px; height:43px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) no-repeat 0 -32px;}
#cboxBottomCenter{height:43px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCXoXoStpqwwAm4Cbq1FyHdGXbtwkSpJAvBRADISHBS_zciPKPLh5QQzjAgcKajD5tYTG_5JVC19f_LsFZbt4CGK2zy9I86MYzrpVvIQvaQKg1TONevZMC6XU42Hr6rQEUnMw5y-t9i60/s400/border.png) repeat-x bottom left;}
#cboxBottomRight{width:14px; height:43px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) no-repeat -36px -32px;}
#cboxMiddleLeft{width:14px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) repeat-y -175px 0;}
#cboxMiddleRight{width:14px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) repeat-y -211px 0;}
#cboxContent{background:#fff; overflow:visible;}
#cboxLoadedContent{margin-bottom:5px;}
#cboxLoadingOverlay{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfgou7qEbL4In5a8gc34fvij2xonnMmq-_tIyrUgRn6dimr5Wsj_jlAWuNZbF79IeXD9OZas-X3Z7o_vG1aRoEHDsIWLJWMYqWFNXWGubYnyc_lJkGGIoz8c3sSRbkvLuZ26w4-l-QPSo/s400/loadingbackground.png) no-repeat center center;}
#cboxLoadingGraphic{https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMf1bhxDKOU7VMWs2HUaJ-ZjQ4v_KU6MFQcaTgp_djr10ArPhbs-BiVX2cHmUEUGQEOTfT0E0Win9AHRhE8SvmuIJ_L7Ud3PIQZbZ7C7Tlnrrhv7PFtsXXxQW1Rl0pG1AL7Tkx4ktHcGw/s400/loading.gif) no-repeat center center;}
#cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;}
#cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{position:absolute; bottom:-29px; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgxDSm8N9thdHcV-g0B_WyzPwcZffBxJ3r53_Cz-CDOAiDUm5ilX7qtpPh-BBpNq5tkRql0sbY7LudpgBappYLCtA2DHz25FBVpbyHz11dRGxEkPq_j0kQvzaGYaiuQbU7gwBd6zZINC0/s1600/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;}
#cboxPrevious{left:0px; background-position: -51px -25px;}
#cboxPrevious.hover{background-position:-51px 0px;}
#cboxNext{left:27px; background-position:-75px -25px;}
#cboxNext.hover{background-position:-75px 0px;}
#cboxClose{right:0; background-position:-100px -25px;}
#cboxClose.hover{background-position:-100px 0px;}
.cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;}
.cboxSlideshow_on #cboxSlideshow.hover{background-position:-150px 0px;}
.cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;}
.cboxSlideshow_off #cboxSlideshow.hover{background-position:-125px 0px;} /*-----------------------------------------------------------------------------------*/
/* Mashable Box popup For Blogger
/*-----------------------------------------------------------------------------------*/
#subscribe {
font: 12px/1.2 Arial,Helvetica,san-serif; color:#666;
}
#subscribe a,
#subscribe a:hover,
#subscribe a:visited {
text-decoration:none;
}
.box-title {
color: #F66303;
font-size: 20px !important;
font-weight: bold;
margin: 10px 0;
border:1px solid #ddd;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
box-shadow: 5px 5px 5px #CCCCCC;
padding:10px;
line-height:25px; font-family:arial !important;
}
.box-tagline {
color: #999;
margin: 0;
text-align: center;
}
#subs-container {
padding: 35px 0 30px 0;
position: relative;
}
a:link, a:visited {
border:none;
}
.demo {
display:none;
}
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js'></script>
<script src="http://sidharth12.googlecode.com/files/jquery.colorbox-min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){
if (document.cookie.indexOf('visited=true') == -1) {
var fifteenDays = 1000*60*60*24;
var expires = new Date((new Date()).valueOf() + fifteenDays);
document.cookie = "visited=true;expires=" + expires.toUTCString();
$.colorbox({width:"400px", inline:true, href:"#subscribe"});
}
});
</script>
<!-- This contains the hidden content for inline calls -->
<div style='display:none'>
<div id='subscribe' style='padding:10px; background:#fff;'>
<style>
/* BTSNTS Social Widget */
#BTSNTS-mashable-bar {
border: 0;
margin-bottom: 10px;
margin: 0 auto;
width:300px;
height:250px;
}
.fb-likebox {
background: #fff;
padding: 10px 10px 0 10px;
border: 1px solid #D8E6EB;
margin-top: -2px;
height:65px;
}
.googleplus {
background: #F5FCFE;
border-top: 1px solid #FFF;
border-bottom: 1px solid #ebebeb;
border-right: 1px solid #D8E6EB;
border-left: 1px solid #D8E6EB;
border-image: initial;
font-size: .90em;
font-family: "Verdana","Helvetica",sans-serif;
color: #000;
padding: 9px 15px;
line-height: 1px;}
.googleplus span {
color: #000;
font-size: 11px;
position: absolute;
display:inline-block;
margin: 9px 70px;}
.g-plusone { float: left;}
.twitter {
background: #EEF9FD;
padding: 10px;
border: 1px solid #C7DBE2;
border-top: 0;}
#mashable {
background: #EBEBEB;
border: 1px solid #CCC;
border-top: 1px solid white;
padding: 2px 8px 2px 3px;
text-align: right;
border-image: initial;}
#mashable .author-credit {}
#mashable .author-credit a {
font-size:10px;
font-weight: bold;
text-shadow: 1px 1px white;
color: #1E598E;
text-decoration:none;}
#email-news-subscribe .email-box{
padding: 5px 10px;
font-family: "Verdana","Helvetica",sans-serif;
border-top: 0;
border-right: 1px solid #C7DBE2;
border-left: 1px solid #C7DBE2;
border-image: initial;
height:35px;}
#email-news-subscribe .email-box input.email{
background:#FFFFFF;
border: 1px solid #dedede;
color: #999;
padding: 7px 10px 8px 10px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-ms-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
border-image: initial;
font-family: "Verdana","Helvetica",sans-serif;}
#email-news-subscribe .email-box input.email:focus{color:#333}
#email-news-subscribe .email-box input.subscribe{
background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#FFCA00),color-stop(1,#FF9B00));
background: -moz-linear-gradient(center top,#FFCA00 0,#FF9B00 100%);
-pie-background: linear-gradient(270deg,#ffca00,#ff9b00);
font-family: "Verdana","Helvetica",sans-serif;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border:1px solid #cc7c00;
color:white;
text-shadow:#d08d00 1px 1px 0;
padding:7px 14px;
margin-left:3px;
font-weight:bold;
font-size:12px;
cursor:pointer;
border-image: initial;}
#email-news-subscribe .email-box input.subscribe:hover{
background: #ff9b00;
background-image:-moz-linear-gradient(top,#ffda4d,#ff9b00);
background-image:-webkit-gradient(linear,left top,left bottom,from(#ffda4d),to(#ff9b00));
filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr=#ffffff,endColorStr=#ebebeb);
outline:0;-moz-box-shadow:0 0 3px #999;
-webkit-box-shadow:0 0 3px #999;
box-shadow:0 0 3px #999
background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ffda4d),color-stop(1,#ff9b00));
background:-moz-linear-gradient(center top,#ffda4d 0,#ff9b00 100%);
-pie-background:linear-gradient(270deg,#ffda4d,#ff9b00);
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border:1px solid #cc7c00;
color:#FFFFFF;
text-shadow:#d08d00 1px 1px 0}
#other-social-bar {
background-color: #D8E6EB;
box-shadow: 0 1px 1px #FFFFFF inset;
padding: 5px;
font-family: "Verdana","Helvetica",sans-serif;
font-weight:bold;
overflow: hidden;
border: 1px solid #B6D0DA;
height:35px;
}
</style>
<!--[if IE]>
<style>
#email-news-subscribe .email-box input.subscribe{
background: #FFCA00;
}
</style>
<![endif]-->
<!--begin of social widget--> <div style="margin-bottom:10px;"> <div id="BTSNTS-mashable-bar" ><!-- Begin Widget --> <div class="fb-likebox"> <!-- Facebook --><div id="fb-root"></div><script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><div class="fb-like-box" data-href="http://www.facebook.com/BTSNTS" data-width="280" data-height="88" data-show-faces="false" data-stream="false" data-header="false"></div></div><div class="googleplus"> <!-- Google --><span>Recommend Us!</span><div class="g-plusone" data-size="medium"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> </div> <div class="twitter"> <!-- Twitter --> <a href="https://twitter.com/helperblogger" class="twitter-follow-button" data-show-count="true">Follow @helperblogger</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></div><div id="email-news-subscribe"> <!-- Email Subscribe --><div class="email-box"><form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=HBlogger', 'popupwindow', 'scrollbars=yes,width=530,height=500');return true"><input class="email" type="text" style="width: 150px; font-size: 12px;" id="email" name="email" value="Your Email Here.." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /><input type="hidden" value="HBlogger" name="uri" /><input type="hidden" name="loc" value="en_US" /><input class="subscribe" name="commit" type="submit" value="Subscribe" /></form></div></div><div id="other-social-bar"><!-- Other Social Bar --><!-- AddThis Button BEGIN --><div class="addthis_toolbox addthis_default_style addthis_32x32_style"><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_preferred_6"></a><a class="addthis_button_compact"></a><a class="addthis_counter addthis_bubble_style"></a></div><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f22ed8a16c66e93"></script><!-- AddThis Button END --></div></div></div><!--Social Media Sharing Widget By BTSNTS.BLOGSPOT.COM--></div></div>
Replacing My Username With Yours
Now go to line number 249 in above code - Find http://www.facebook.com/BTSNTS and https://twitter.com/helperblogger and replace it with your username.To replace feedburner username go to line number 250 and find HBlogger,you will get two results then replace all of them with your feedburner URL.- Replace http://www.facebook.com/BTSNTS with your facebook fan page URL.
- Replace https://twitter.com/helperblogger with your twitter fan profile URL.
- Replace HBlogger with your Feedburner username (make this change 2 times)
Not working for me!
ReplyDeletePlz help!!
My email : realindianfreebies [at] gmail [dot] com
Kindly help. Thank you.
ya not working
ReplyDeletesame here....not working on my blog...pop up doesn't appear...can you check out the error
ReplyDeletecorrection....doesn't appear at GoogleCrome but mozilla...work fine
ReplyDelete