Fully Optimized CSS3 Widget To Improve Page Loading

I want to ask you one question, what is the value of loosing visitors due to a slow loading of website? Is it important to you that much? If you are really cares about your site loading and want to improve visitor's navigation experience then you should take some serious efforts to unlock huge numbers of generic visits. Not only scripts but images are also equally affects on page loading. Learn how to use CSS3 in widget instead of actual images in your page to improve page loading.

CSS3 Optimized Widget To Improve Page Loading
CSS3 Optimized Widget To Improve Page Loading
Last time we have seen how to defer the loading of Facebook like box by lazy load script for making page speed much faster. These widgets dramatically slowdown the loading of your page due to additional downloads, several requests and synchronous loading of JavaScript which causes high memory usage to browsers. The goal of this post is to get higher page views, lower bounce rate & to optimize your site for social media.


Optimize the performance of widgets to improve page loading using CSS3

This is one of the best SEO & blogging tip. This widget is fully made by CSS3, that means all images contained by this widget is made only by CSS. Yes that's true, CSS can be written to get an images you want to display on page instead of actual image like .jpg or .png. When you install any third party widget on your page it will call for images to download which causes more requests and extra downloading as well as time; and this mutually affects on your site loading. But this widget will NOT cause any request for images shown by it nor causes downloading of any and hence this improves your site loading.

Here I have given E-mail subscription widget with four CSS3 icons which are not images, its truly CSS based coding. Change blue coloured text as per your information and install this widget in your site.
<div id='email-sub-pbb'>
<style>
#menump {align:center;}
#menump ul {    list-style:none;    padding:0;    margin:0;    overflow:hidden;    font:0.875em/1 Arial, sans-serif; }
#menump ul li {    float:left;    width:46px;    height:49px; padding-left: 20px; }
#menump ul li a {    display:block;    width:45px;    height:45px;    overflow:hidden;    border:1px solid transparent;    line-height:45px;    text-decoration:none;    text-shadow:0 -1px 0 rgba(0,0,0,0.5);    -moz-border-radius:5px;    -webkit-border-radius:5px;    border-radius:5px; }
#menump ul li a:hover, #menump ul li a:focus, #menump ul li a:active {    opacity:0.8;    border-color:#000; }
/* ------------------------------------------------------------------------------------
--  FACEBOOK
------------------------------------------------------------------------------------ */
.facebook a {
    position:relative;
    border-color:#3c5a98;
    text-transform:lowercase;
    text-indent:24px;
    letter-spacing:10px;
    font-weight:bold;
    font-size:40px;
    line-height:50px;
    color:#fff;
    background:#3c5a98;
    /* css3 */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
}
/* ------------------------------------------------------------------------------------
--  TWITTER
------------------------------------------------------------------------------------ */
.twitter a {
    position:relative;
    border-color:#a8eaec;
    text-transform:lowercase;
    text-indent:13px;
    letter-spacing:40px;
    font:bold 45px/1 Tahoma, sans-serif;
    line-height:35px;
    color:#6ac6df;
    background:#daf6f7;
    /* css3 */
    text-shadow: 3px 3px 1px #fff, -3px -3px 1px #fff, 3px -3px 1px #fff, -3px 3px 1px #fff;
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#dbf7f8), to(#88e1e6));
    background:-moz-linear-gradient(top, #dbf7f8, #88e1e6);
}
/* ------------------------------------------------------------------------------------
--  RSS
------------------------------------------------------------------------------------ */
.rss a {
    position:relative;
    width:45px;
    padding:0 2px;
    border-color:#ea6635;
    text-transform:lowercase;
    text-indent:-186px;
    font-size:30px;
    font-weight:bold;
    color:#fff;
    background:#e36443;
    /* css3 */
    /* NOTE: box-shadow is not currently in any CSS3 module. It may be reappear in a different form altogether */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#f19242), to(#e36443));
    background:-moz-linear-gradient(top, #f19242, #e36443);
}
/* create circle */
.rss a:before {
    content:&quot;\00a0&quot;;
    position:absolute;
    bottom:4px;
    left:5px;
    width:9px;
    height:9px;
    background:#fff;
    /* css3 */
    -moz-border-radius:12px;
    -webkit-border-radius:12px;
    border-radius:12px; /* standards version last */
}

/* create the two arcs */
.rss a:after {
    content:&quot;\00a0&quot;;
    position:absolute;
    bottom:5px;
    left:5px;
    width:14px;
    height:13px;
    border-style:double;
    border-width:24px 24px 0 0;
    border-color:#fff;
    /* css3 */
    -moz-border-radius:0 50px 0 0;
    -webkit-border-top-right-radius:50px;
    border-radius:0 50px 0 0; /* standards version last */
}
/* ------------------------------------------------------------------------------------
--  GOOGLE
------------------------------------------------------------------------------------ */
.google a {
    position:relative;
    border-color:#26478d;
    text-transform:lowercase;
    text-indent:6px;
    letter-spacing:40px;
    font: 71px/21px Georgia, Times New Roman, Times, serif;
    color:#fff;
    background:#1e3c7f;
    /* css3 */
    -moz-box-shadow:0 0 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:0 0 4px rgba(0,0,0,0.4);
    box-shadow:0 0 4px rgba(0,0,0,0.4); /* standards version last */
    /* NOTE: webkit gradient implementation is not as per spec */
    background:-webkit-gradient(linear, left top, left bottom, from(#447aec), to(#1e3c7f));
    background:-moz-linear-gradient(top, #447aec, #1e3c7f);
}
#sidebar-subscribe-box{
width:auto;
/* border:1px solid #b2b2b2;*/
background:#ececd9;
border-radius: 10px;
padding-top: 25px;
padding-bottom: 1px;
}
.sidebar-subscribe-box-wrapper{
color:#000;
font-size:11px;
padding:1px 20px 10px;
text-align:center;
letter-spacing: normal;
text-transform: capitalize;
font-weight: normal;
}
.sidebar-subscribe-box-form{
clear:both;
display:block;
margin:10px 0}form.sidebar-subscribe-box-form{clear:both;display:block;margin:10px 0 0;width:auto}
.sidebar-subscribe-box-email-field{
-moz-border-radius:4px;-webkit-border-radius:4px;
border:1px solid #ccc;border-radius:4px;color:#444;margin:0 0 15px;padding:10px 40px;width:68%}
.sidebar-subscribe-box-email-button{
background:#58524b;
border:1px solid #4a453e;
border-radius: 4px;
box-shadow:0 1px 0 rgba(255,255,255,0.3) inset, 0 1px 0 transparent;
color:#fff;
cursor:pointer;
font-family:Droid Serif;
font-weight:700;padding:10px;text-shadow:1px 1px 0 rgba(0,0,0,.4);text-transform:uppercase;width:100%}
.sidebar-subscribe-box-email-button:hover,.sidebar-subscribe-box-email-button:focus{background:#D83F1D}
.sidebar-subscribe-box-email-button:active{-moz-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;-webkit-box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;box-shadow:0 1px 4px rgba(0,0,0,0.5) inset;outline:0}iframe,object,embed,.yt-border iframe,.yt-border object,.yt-border embed,table{width:100%}embed{border-radius:3px;-moz-box-shadow:0 2px 4px rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);background:#FFF;border:1px solid #ddd;box-shadow:0 2px 4px rgba(0,0,0,0.2);margin:0;padding:4px 4px 4px}
#footer-section{border-top:1px solid #aaa;box-shadow:inset 0 4px 6px -3px #aaa;font-family:cambria;font-size:14px;height:100px;margin:10px -30px 5px;padding:0 30px;text-align:center;width:100%}
a.social-icons{margin-right: 5px;height:45px;width:45px;}
a.social-icons:hover { opacity: .7; filter:alpha(opacity=70);}
</style>

<div align='center'>
<div id='sidebar-subscribe-box'>
<div class='sidebar-subscribe-box-wrapper'>
<div id='menump'>
<ul>
<li class='facebook'>
<a href='https://facebook.com/problogbooster' rel='nofollow external' title='Share on Facebook'>F</a></li>
<li class='twitter'>
<a href='https://twitter.com/problogbooster' rel='nofollow external' title='Share on Twitter'>T</a></li>
<li class='rss'>
<a href='http://feeds.feedburner.com/problogbooster' rel='nofollow external' title='Subscribe to the RSS feed'>RSS</a></li>
<li class='google'>
<a href='https://plus.google.com/u/0/100539750299570490490' rel='nofollow external' title='Bookmark with Google'>G</a></li>
</ul>
</div>
<p><span style='font-size: 13px; line-height: 20px; text-align: center; text-transform: uppercase;padding:0 10px 0 10px;'>Get Our Latest Articles Delivered To Your Email Inbox And The FREE Access For The Blogger Resource Page </span></p>
<div class='sidebar-subscribe-box-form'>
<form action='http://feedburner.google.com/fb/a/mailverify?uri=problogbooster' class='sidebar-subscribe-box-form' method='post' onsubmit='window.open(&apos;http://feedburner.google.com/fb/a/mailverify?uri=problogbooster&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' target='popupwindow'><input name='uri' type='hidden' value='problogbooster'/>
<input name='loc' type='hidden' value='en_US'/><input autocomplete='off' class='sidebar-subscribe-box-email-field' name='email' placeholder=' Enter your email address here'/>
<input class='sidebar-subscribe-box-email-button' title='' type='submit' value='Subscribe Now'/>
</form>
</div>
</div></div></div>
</div>

Use this HTML widget and see the difference in Page-Speed and YSlow.

Lazy Load Facebook Like Box To Speed up Page Loading

Facebook like box always downloads extra data when the user visit each time your site which causes page loading time slow. Learn how to defer the loading of Facebook like box by lazy load script for making page speed much faster.

Lazy Load Facebook Like Box To Speed up Page Loading
Lazy Load Facebook Like Box To Speed up Page Loading
In the category of Facebook, last time we have seen how to see locked profile picture hack, and today we are going to focus on page loading. We are going to use better technique by lazy load script to defer loading of any widget. You can ignore the data downloaded by these widget but you need to concentrate its loading-time because it directly affect to your site loading-time.


Defer lazy loading of Facebook widget

For better page performance this is an essential tip and as the page content is more important than widgets, it is much better to make a delay loading of these widgets so that it will load only when the whole page gets loaded.

Lazy Load Facebook Like Box

Add following code in your HTML widget. You just need to replace blue coloured text as per your content.
<!-- lazy loading of Facebook widget -->
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
    $('#fbHolder').append('<div id="fb-root"></div>');
    $('#fbHolder').append('<fb:like-box href="http://www.facebook.com/ID" width="300" show_faces="true" stream="false" header="false"></fb:like-box>');
    jQuery.getScript('http://connect.facebook.net/en_US/all.js#xfbml=1', function() {
        FB.init({status: true, cookie: true, xfbml: true});
    });
});
//]]>
</script>
<!-- lazy loading of Facebook widget -->
<div id="fbHolder">
<!-- put here your old Facebook widget box code -->
</div>
Demo is working here on this site, or you can check its performance on Page Speed and Yslow, significantly you will see the changes in report.

Unfortunately, Touchwiz home has stopped [SOLVED]

"Unfortunately, Touchwiz home has stopped" I was really annoyed by this error while using Samsung galaxy series. First it get unresponsive then a popup message will displays that error and it gets stopped and then it will get restart, Grrrrr!!! Learn how to get rid of this error.

Unfortunately Touchwiz home has stopped solved - problogbooster
Unfortunately Touchwiz home has stopped solved 
Mostly for android OS this happens when you trying to switch from an app to the HOME screen or trying to delete any of your app pages from the HOME screen or trying to close an icon folder. Lots of users are really fed up by this error and demanding for the update from Samsung officially.


How to fix Unfortunately, Touchwiz home has stopped

  1. Go to Settings >> Home screen mode >> Select Easy mode >> Click Apply.
    Here the screen will refresh and come again in few seconds. Error gets solved by this method too. 
  2. But if that error still present there then you need to change animation scale in developer option; for that you need to put animation scale back. You know what, this error is regarding the drawing the objects (that means movements of icons, pages etc) on screen.
  3. Go to settings >> Developer option >> Window Animation Scale >> select .5x to 5x or any.
    Also try by changing Transition animation scale or you need to change Animator duration scale setting too and one will surely work
Let me know what experience you have gotten.