Showing posts with label BLOGGER WIDGETS. Show all posts
Showing posts with label BLOGGER WIDGETS. Show all posts

Thursday, August 16, 2012

Jquery Social Slider Widget for Blogger


jquery social slider widget

I have given you so many social sharing widgets in my previous tutorials. I have even given you many Jquery tutorials and Jquery featured widgets, sliders for blogger blogs. Many of them were eye-catching to the users but still many of them just disappointed the bloggers by taking long time to load. Today i am giving you one of the unique and most inspired social sharing slider widget with Jquery featured and fast loading speed. This slider widget is styled to stand on the top right position and works similar to the 4 in 1 social slider widget shared on this blog. Enjoy this beautiful and very effective widget on your blog and i can say that this widget is really going to catch the attention of maximum users and thus a rapid growth in your social stats. Here is a Demo of the widget.

Jquery Featured Social Slider Widget demo



Jquery Featured Social Slider Widget for Blogger

1. Go to blogger dashboard --> Template --> Edit Html.

2. Find(Ctrl+F) for <body> tag and Paste the following peace of code just below it.

<div class='clear'/>
<style>
/*Social Sharing Top Slider WIdget By BloggerTricks.Biz*/
ul#navigation {
position: fixed;
margin: 0px;
padding: 0px;
top: 0px;
right: 0px;
list-style: none;
z-index:999999;
width:721px;
}
ul#navigation li {
width: 103px;
display:inline;
float:left;
border:0;
}
ul#navigation li a {
display: block;
float:left;
margin-top: -2px;
width: 100px;
height: 25px;
background-color:#eeeeee;
background-repeat:no-repeat;
background-position:50% 10px;
border:1px solid #BDDCEF;
-moz-border-radius:0px 0px 10px 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
text-decoration:none;
text-align:center;
padding-top:80px;
opacity: 0.96;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
ul#navigation li a:hover{
background-color:#CAE3F2;
}
ul#navigation li a span{
letter-spacing:2px;
font-size:11px;
color:#60ACD8;
font-family:trebuchet-ms, arial, tahoma, Sans-Serif;
font-weight:bold;
text-shadow: 0 -1px 1px #fff;
}
ul#navigation .facebook a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilzYC3cbnhO9cGBrUS7iJ0OEBbGQg5W_shyphenhyphenBYt4EoX2I9kK58hjVkVfLCb7jwVjkkwDPH1fFwh75nG6GirO_ufg1QJdGz7WhzMb8pc_s4InzOkGj2kXejd8GxD9IavdAISRg_QOU5CQRo/s1600/%5Bbloggertricksdotbiz%5DFACEBOOK.png);
}
ul#navigation .twitter a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCuVfUvQu_ZMRDg4Kc0BAkpv6J1qiwv4QT2c1efCZPelPhm9ygVthfze3_AkFgjt1uJXgEHCrt03DfVbw_hRmy8gdxnvyL90Jlwi9qftHLxRTBieLuQWGY_Oh-BA9WeIIYl4gsT-xd2oc/s1600/%5Bbloggertricksdotbiz%5DTWITTER.png);
}
ul#navigation .googleplus a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJdxqymQrSBCZgSV9w152LCTfCNeDOW1OTNxDTd_JHOKshrDPlUqbJp6JLcon7vYe7e_Rdd78VJziWqZpfBJ6YjGeYfspty1XEmHBhnuvT-xA9XmSuY4PIW-kMWl0tc4gued2r7tc2XhE/s1600/%5Bbloggertricksdotbiz%5Dgplus.png);
}
ul#navigation .rss a{
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmhFpXLnusPqJhm365V4NWP8WAYGKERHiMIGJh0Gf4gRuYGJiuAr9JL34PR19BszAyj8-EvRKx8J5Pj1TVHYXOgE1FEa6LE-dYAhX-bK5E5x3mcaOmD-0-Mjx3q6Bliv1KMygLtc1OfBk/s1600/%5Bbloggertricksdotbiz%5DRSS.png);
}
ul#navigation .Contact a {
background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY8u4Ytr-y9tiUZaeaOGXGN8FhY1xGm5y-1hxaiU3_AXpJCyHzLHkof-qKMOpr4VG9iRYXUM-cutIXpDOjO0vAUkHGDtNODhMS1C3WbCTK67bYvt4vZrCPT9xhBU5llqtH22V8PJTnJV0/s1600/%5Bbloggertricksdotbiz%5Dcontact.png);
}
/*Social Sharing Top Slider Widget Style End By BloggerTricks.Biz*/
</style>
<script src='http://jqueryjs.googlecode.com/files/jquery-1.3.2.js' type='text/javascript'>
</script>
<script type='text/javascript'>
$(function() {
var d=300;
$(&#39;#navigation a&#39;).each(function(){
$(this).stop().animate({
&#39;marginTop&#39;:&#39;-80px&#39;
},d+=150);
});
$(&#39;#navigation &gt; li&#39;).hover(
function () {
$(&#39;a&#39;,$(this)).stop().animate({
&#39;marginTop&#39;:&#39;-2px&#39;
},200);
},
function () {
$(&#39;a&#39;,$(this)).stop().animate({
&#39;marginTop&#39;:&#39;-80px&#39;
},200);
}
);
});
</script>
<ul id='navigation'>
<li class='facebook'><a href='http://facebook.com/khatab.dadi'>Facebook</a></li>
<li class='twitter'><a href='http://twitter.com/freeeagle18'>Twitter</a></li>
<li class='googleplus'><a href='https://plus.google.com/110100302012846213219'>Google+</a></li>
<li class='rss'><a href='http://feeds.feedburner.com/dadou'>RSS</a></li>
<li class='Contact'><a href='http://tell-me-howw.blogspot.com/p/contact-us.html'>Contact Us</a></li></ul>


3. Save the Template.

Customizations:

  • Replace http://facebook.com/khatab.dadi with your Facebook Page Url.
  • Replace http://twitter.com/freeeagle18 with your Twitter Profile Url.
  • Replace https://plus.google.com/110100302012846213219 with your Google Plus Url.
  • Replace http://feeds.feedburner.com/blogspot/dadou with your RSS Feed Url.
  • Replace http://tell-me-howw.blogspot.com/p/contact-us.html with your Contact Us Page Url.


Finally, View Your Blog and There Comes the elegant Jquery social slider at the top right of your blog.

Kindly let me know your feedback and difficulties in adding the widget on your blog in the comment section below. Stay updated with the blog for further spicy updates. Take care pals. .

Wednesday, August 15, 2012

How To Customize Blogger Comment Form

customize blogger comment form

In my previous post i have explained about how to attract new commentators. Designing the comment section of your blog and keeping it clean and easy also helps you in attracting new commentators to comment on your blog. An ugly comment box never catches the visitors eye. Today i will explain briefly on how to customize the blogger comment form. Let us move on with the tutorial and discuss every elements in it.

How To Customize Blogger Comment Form

Customizing the comment form of the blogger blog takes only two steps, i.e creating a Css style for the comment form and changing the div id of the default comment form of blogger.

Changing the Div Id

The default comment form of blogger is associated with div id 'comment-form'. 

  • Go to your blogger dashboard --> Template --> Edit Html(Tick expand widget template option).
  • Find(Ctrl+F) for <div class='comment-form'> and replace it with the following code.

          <div id='btcomment-form'>

Creating the New Css Style for the Comment Form:

Firstly, we will write a Css style for active comment form. As the comment form is called inside iframe in blogger, we must use iframe tag along with the div id specified. So here is the style for active comment form.
#btcomment-form iframe{
background:#000 url("image url");
width:550px;
padding:5px;
border:3px solid #E5F502;
font:normal 12pt "ms sans serif",arial;
color:#fff;
}
Secondly, we need to write a style for mouse hover effect(optional) of comment form. Which should be like this,
#btcomment-form iframe: hover{
background:#000 url("image url");
border:3px dotted #E5F502;
}
Finally, we need to write style for links inside the comment form.
#btcomment-form a{
text-decoration:underline;
color:#fff;
}

Understanding Css Tags(Newbies)

Let us understand the different styles written above. Hope you are aware of defining style elements for active, hover and link of comment form. let us understand the different tags inside this.

          background:#000 url("image url"); 
==>This is the main part here. You can define background color or image using this tag.

  • Here #000 is the hexadecimal value of color. 
  • Suppose if you have a texture like image, you can replace the image url with the url of your image. 
  • Suppose if you have a image like logo, which you wish to place at a corner of the form keeping the background color same, then you need to specify no repeat and position along with the image like this.

            background:#000 url("logo url")no-repeat top right;


width:550px;
==>This tag is to specify the width of the form with respect to pixels.


padding:5px;
==>This tag is to adjust the padding's of the form.


border:3px solid #E5F502;
==>Here we will specify the border thickness, type and color of the border. You can use the border types like solid, dotted and transparent.


font:normal 12pt "ms sans serif",arial;
color:#fff;
==> These tags are to define the font size, font family and the text color.


Hope you are now well aware of writing your own styles for your comment form. Define your own styles for active, mouse hover and links of comment form and get it ready like this.
#btcomment-form iframe{
background:#000 url("image url");
width:550px;
padding:5px;
border:3px solid #E5F502;
font:normal 12pt "ms sans serif",arial;
color:#fff;
}
#btcomment-form iframe: hover{
background:#000 url("image url");
border:3px dotted #E5F502;
}
#btcomment-form a{
text-decoration:underline;
color:#fff;
}
You have defined your custom style now.

Adding the custom style in Blogger

1. Go to blogger dashboard --> Template --> Edit Html.

2. Find(Ctrl+F) for ]]></b:skin> and place your Css style code just above it.

3. Save the Template.


View your comment form now with your own customizations. Hope you got some knowledge regarding Css too with this tutorial. Kindly let me know if you face any issue in customizing your comment form. Take care Pals.