Tampilkan postingan dengan label Gadgets. Tampilkan semua postingan
Tampilkan postingan dengan label Gadgets. Tampilkan semua postingan

how to Add FACEBOOK Like/Fan Box Using JAVASCRIPT SDK

Diposting oleh Unknown

Facebook_fan_box_using_java_script Today we will learn how to add a face book like box by using javascript to Bloggers Blog. Social networking websites like Face book, Twitter and Google+ are providing the custom follow and like boxes which helps every blogger. Now social networks are one the most important part of blogging. Face book like box help you to extend your reach and connect to the audience by proving them a mean to join you on face book. It does not only help you to grow your community but traffic as well. If people like your content they will voluntary like your Face book page. Facebook like box allows your visitors to join you easily and they don't have to find you manually. Face book developers have made this thing very easy to integrate a Face book like box in to your Blog by adding a few lines of code in it. We have already covered in our previous article how you can add a Face book like/fan box to blogger blog using Iframe.. you can see live demo on sidebar of our blog.

 

Add It To Blogger

 

1. First you need to go Face book Developer Page & Create your fan box by using your page user name and page id. (Get your Face book page user name & id URL by Visiting your Face book fan page.)

 

Facebook_Like_Box_Setting

2. Set other parameters such as width, height and stream. The Preview on the right will update itself as you enter the changes.

3. Click on get code (you will get code look like screenshot below)

 

Facebook_fan_box_code_window

4. Go To Blogger Dashboard>> Template>>Edit HTML

5. Press CTRL+F and Find the Following code. �</body>�

6. and paste 1st code before/above </body>

7. finally click on save and you are done first step.

8. Go to your blogger layout and click on add a gadget and choose HTML/JavaScript

9. Paste 2nd code in text area.

10 write your Desired name in title section( If you hide face book like box Header while you creating this. if you no hide while you creating like box so your don�t need write gadget title.)

11. Finally click on save take new look of your blog..

 

For Further Help See Video Tutorial. Enjoy!  Adding this widget is surely easy but still if you encountered any troubles just post your query below in comment box and I would love to reply back as soon as time allow thanks for reading our post. happy blogging..!!

More about → how to Add FACEBOOK Like/Fan Box Using JAVASCRIPT SDK

Target Your Widget or content any where with conditional tags

Diposting oleh Unknown

preview In this post I going to show you how add widget, buttons or anything else only on home page, post page, static page and only Selected post. you can do that with conditional tags. Conditional tags are Blogger template tags that allow you to specify parts of your template to appear only under certain conditions. The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches.
 

Conditional tags syntax

 

Update on 26-5-2013

The Syntax is Like This
<b:if cond='PUT_CONDITION_HERE'> 
</b:if>


Condition is entered as the value of the cond attribute. Each (opening) <b:if> tag need to be closed with a closing </b:if> tag.


 


Below is List of Conditional Tags



Just make sure you include the closing </b:if> tag when applying a conditional in your template.


 


1. Index (list) pages

Index pages include homepage, labels page and yearly archive page.



<b:if cond='data:blog.pageType == "index"'>


2.  Home Page Only


<b:if cond='data:blog.url == data:blog.homepageUrl'>


3. Post (item) Page Only



<b:if cond='data:blog.pageType == "item"'>


4. First Post



This is not a page, but a conditional for the first post.



<b:if cond='data:post.isFirstPost'>


5. Static Page



<b:if cond='data:blog.pageType == "static_page"'>


6. Archive Pages



<b:if cond='data:blog.pageType == "archive"'>


7. Specific Page/URL



<b:if cond='data:blog.url == "PUT_URL_HERE"'>


8. Post and Static Page



<b:if cond='data:blog.url == data:post.url'>


9. Label-Search Pages



<b:if cond='data:blog.searchLabel'>


You can place these conditional tags any where in your template HTML Area. If you have any Trouble post your comments below I will try to make possible..thanks for reading our post.


How to apply Conditional Tags



To apply a conditional tag to a content, simply  put the content between the opening <b:if cond��> and the closing </b:if>, like Below code.



<b:if cond='data:blog.pageType == "item"'>
Here is Your CONTENT
</b:if>


in the example above, the content or widget show only on post pages..  I am writing a few  more examples as soon as time Allow.

More about → Target Your Widget or content any where with conditional tags

How to Add Fixed Position Slide Open Heart Bookmarking Gadget to blogger

Diposting oleh Unknown

Egg Style SharingShare your blog in popular social networking/bookmarking sites is very important to get good traffic and I think this is the easiest way for increase our blog/website traffic. This is indeed the most beautiful Social Network Heart Style  Sharing widget featuring the bottom Social Network sites (Google Plus, Twitter and Facebook ). In this tutorial we'll create Heart Style Sharing button for your blog. With the 'Share this' button visitors will be able to share your content with their friends or community, and you know yourself what will happen. ShareThis is a very popular service offering multiple Social Bookmarking Widgets for blogs and websites. i have a Blogger Tips show you how to add the new Share This Heart Style Buttons to various position on your blog. You can see the buttons in question to the end of this Article and that position will be one of the options for your blog. In this part I going to show you  Heart Style Sharing buttons Horizontally Align at the Bottom of your blog.
ShareThis Tool Tutorials
Part 4: How To Add Share This Heart Style Sharing.
Note:-  Always Make a Backup of Your Template Before You Edit Your Template �( how to make a template backup)
1. Go To Your Blogger Dashboard>> Template>> Proceed.
2. Press CTRL+F and find the following Code in you template. (how to find code using search bar)
</head>

3. Paste The Following Code Above/Before </head>




<script type="text/javascript" src="http://w.sharethis.com/gallery/shareegg/shareegg.js"></script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "1cce35ce-6744-4bac-9fa5-8f17a67a6fa6", doNotHash: false, doNotCopy: false, hashAddressBar: false, onhover:false});</script>
<link rel="stylesheet" type="text/css" href="http://w.sharethis.com/gallery/shareegg/shareegg.css" media="screen" /></link>

4. Next Find the following piece of code.




</body>

5. and paste the following code before/above </body>.




<script type='text/javascript'>stlib.shareEgg.createEgg('shareThisShareHeart', ['googleplus','facebook','twitter','pinterest','linkedin','email','sharethis'], {title:'Happy Valentines Day!',url:'http://www.sharethis.com',theme:'shareheart'});</script>

6. and finally add the these lines where you want to show widget. if you want to show widget at the bottom of your blog then follow this step. Find This line




</body>

7. Copy and place anywhere Before the code from step 5.




<div style='position: fixed; bottom: 2%; left: 2%;'>
<div class='shareEgg' id='shareThisShareHeart'/>
</div>
<div id='shareThisShareHeart' class='shareEgg'></div>

Need Help�


The Gadget is currently set to be in the bottom right corner of your blog but you can easily change this.In yellow above you can see bottom: 2%; left: 2%;.You can change Bottom to top for it to be at the top of the page and left to right for it to be on the right of the page.You can also change the percentages to have it further from the bottom/top and left/right. if you have any trouble about this tutorial feel free to post a comment below in comment section and I will solve the problem as soon as time allow. thanks for  reading our post�
More about → How to Add Fixed Position Slide Open Heart Bookmarking Gadget to blogger

Add Awesome Google style search to blogger blog

Diposting oleh Unknown





Google is the best search Engine in the world. Google update there home page in June 2011, New Google homepage with smaller logo and links moved to the top and bottom edges of the browser for a cleaner look, I think this look much better than older look. I'm sure you will have noticed the new Google design as covered in the post Evolving the Google design and experience on the official Google blog. when  see Google Style search box tutorial on http://www.Queness.com I am very happy and add this search bar on my blog. The new search bar has a more modern minimalist look with rounded corners and hover effect. you can create Google Style Search widgets with some HTML, CSS & JQuery Combination. in this tutorial I�ll also show you how to re-create Google style new search button with some simple CSS Codes. I edit this search button with Green color which compatible with my template style sheet. you can also edit button style with your template colors. so Read all steps and make a beautiful Search button. Special thanks for this tutorial goes to Awesome Queness.Com design blog again & again. You Can See Live Demo on this Blog.





Add Google Style Search Bar To Blogger


First we need to edit your blogger template so Always Make a Backup of Your Template Before You Edit Your Template (how to make a template backup.)



1. Go to your blogger Dashboard>> Template >> Proceed press CTRL+Fand  find the following Code. (how to find code using search bar)

]]></b:skin>

2. Paste following code before/above }}></b:skin.

/*Start Css For Google Style Search Box*/
/* div container containing the form */
#searchContainer {
margin:0px;
}

/* Style the search input field. */
#field {
float:left;
width:180px;
height:27px;
line-height:27px;
text-indent:10px;
font-family: Source Sans Pro, sans-serif;
font-size:1em;
color:#333;
background: #fff;
border:solid 1px #d9d9d9;
border-top:solid 1px #c0c0c0;
border-right:none;
}

/* Style the "X" text button next to the search input field */
#delete {
float:left;
width:16px;
height:29px;
line-height:27px;
margin-right:15px;
padding:0 10px 0 10px;
font-family: "Lucida Sans", "Lucida Sans Unicode",sans-serif;
font-size:22px;
background: #fff;
border:solid 1px #d9d9d9;
border-top:solid 1px #c0c0c0;
border-left:none;
}
/* Set default state of "X" and hide it */
#delete #x {
color:#A1B9ED;
cursor:pointer;
display:none;
}
/* Set the hover state of "X" */
#delete #x:hover {
color:#36c;
}
/* Syle the search button. Settings of line-height, font-size, text-indent used to hide submit value in IE */
#submit {
cursor:pointer;
width:60px;
height: 31px;
line-height:0;
font-size:0;
text-indent:-999px;
color: transparent;
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMV1Tk2O7nFWDesPkl-VWBepfF4o2jax_mKRG-I2OsvPYyYhQUaiNX3Ew1-XDO_UM0GVguTr1P_QkYo7vxuezz-y299DXRa1aw2dSvJAmYfk1JOd4yvyBjdVob6p1AbC9HUXGpE7bMGYzn/s1600/iconsearch.png) no-repeat #088a4b center;
border: 1px solid green;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
/* Style the search button hover state */
#submit:hover {
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMV1Tk2O7nFWDesPkl-VWBepfF4o2jax_mKRG-I2OsvPYyYhQUaiNX3Ew1-XDO_UM0GVguTr1P_QkYo7vxuezz-y299DXRa1aw2dSvJAmYfk1JOd4yvyBjdVob6p1AbC9HUXGpE7bMGYzn/s1600/iconsearch.png) no-repeat center #088a4b;
border: 1px solid green;
}
/* Clear floats */
.fclear {clear:both}

Note:- In Search Bar Style Sheet you can edit Font Style, Form Width, Form Border, Font Color, Font Size, Search Button Color, Search Buttons Hover Effect and search Button Border, all these editing I highlighted in blue color you can change it which look is better for your blog design if your don�t want edit just leave it same. & paste before ]]></b:skin>.

3. find the following Code. (how to find code using search bar) 

</head>

4. and paste the following code before </head>.

<script src='http://code.jquery.com/jquery-1.6.1.min.js' type='text/javascript'/>
<script type='text/javascript'>
$().ready(function() {
// if text input field value is not empty show the &quot;X&quot; button
$(&quot;#field&quot;).keyup(function() {
$(&quot;#x&quot;).fadeIn();
if ($.trim($(&quot;#field&quot;).val()) == &quot;&quot;) {
$(&quot;#x&quot;).fadeOut();
}
});
// on click of &quot;X&quot;, delete input field value and hide &quot;X&quot;
$(&quot;#x&quot;).click(function() {
$(&quot;#field&quot;).val(&quot;&quot;);
$(this).hide();
});
});
</script>

5. click on preview and check your blog look if all thing is ok click on save and now time to add gadget on blogger sidebar.

6. Go to your blogger Dashboard>> Layout>> and click on add a gadget a new window is popup. in new window scroll down find HTML/JAVASCRIPT when you find this click on plus button and paste this code in your HTML/JAVASCRIPT Text Area



<div id="searchContainer">
<form name="SUYB" action="/search" method="get">
<input type="text" id="field" id="s" name="q"/>
<div id="delete"><span id="x">x</span></div>
<input type="submit" name="submit" id="submit" value="Search" />
</form>
</div>



& Click Save. your Done! and see your blog new search bar look. Thanks Again to Queness.

The next few months, look for a series of design improvements across all our Tutorials, Widgets, DropDown Menu, Sharing Buttons including Templates & Social Icons Sets. So Subscribe our blog and stay Connected..

if you have any trouble about this tutorial leave your comments and questions below in comment box. Thanks for our post.

More about → Add Awesome Google style search to blogger blog

How To Create Blogger Static Page Neat & Clean

Diposting oleh Unknown



Bloggerstaticpage


In This post I am going to explain you how to hide sidebar, footer and header on static page. I am working for this tip last 8 days and  I finally took the time to generalize this tips. Anyone can use the solution in this page, and you'll get what you want  I'm not going to repeat what this tutorial does. Or maybe I will. You get to hide your sidebars and use that space to widen your main posting area, on pages that you choose. You can apply this tweak both on your static pages and your post pages. I have already posted one article on this blog how to show widget only on home or post pages and static pages. when static pages first came out. Than again, Bloggers flexibility and permission to design your page as you like it is one of the main features for which so many people prefer this platform. with ths tip you can create a different Design for each of your static pages with adding few CSS Code Lines. The Adding Code in ths tutorial is to much easier and clear and result is very Beautiful like professional Blogger look. You can see Working Demo on this blog.







Adding this Beautiful Tweak to your blogger Static Pages is just in two steps. and you�re done.


First you need to check what is Tag used in your Template.



1. Go to your blogger Dashboard>> Pages >> and Create a New page. ( Create Blank Page Not a Send Readers to another web address)

and paste this code at the top of your static page, before the content and click preview. if all thing is ok write your content and click on publish.

<style type="text/css">
/*<![CDATA[*/
#footerwrapper,#sidebarwrapper{
height: 0;
visibility; hidden !important;
display:none !important;
}
.home-link {
display:none !important;
}
#credits {
display:none !important;
}
#contentwrapper{
float: Center;
width: 100%;
margin-left: 0;
margin-right: 0;
margin-top:20px;
margin-bottom: -30px;
padding-left: 0;
padding-right: 0;
background: #fbfbfb;
color: #000000;
}
.post {
width: 95%;
margin: 0 auto;
padding: 0;
}
.post h1 a {
text-align: center; padding:5px;
}
/*]]>*/
</style>






What goes into the tags are CSS rules. It depends on what we are trying to change and differs between templates. In the code above, we

Remove  blog footer, post footer, feed links and sidebar. This is done in code line 2 to 8.
Widen the post area to fill up the spaces vacated by the sidebars. This is done in code line 5. If you want to do this too, find out what�s your header�s or header-wrapper�s width and apply it here.


Identifying and adding your own elements to the code




Your elements� Ids and classes maybe different from the ones given in the code above. You can find yours by going through your template code. To get an idea what to look for, here�s a sample code snippet, taken from Blogger Tricks�s Template.



#sidebarwrapper,#footerwrapper,#sidebarwrapper, #credits, .home-link {

          height: 0;>

          visibility;

          hidden !important;

          display:none !important;

        }

    


As you can see an element, be it a division, a section or a widget is assigned an ID and/or a class. To remove it from the Page. For an ID you need to add �#� prefix and for a class, add �.� as prefix.




Need Help��!�



I am showing in video below Which tags you need for hiding sidebar, header, menu, footer and footer credits. in this code I just add codes which is mostly used in blogger template if your template is with different ids search in your template. For example if you want to hide menu from static page your menu id look like this (#menu) I am not sure but mostly designer use this id for menu. if you cant find Please leave a comments or send me your template on my email address I will try to fix the code. which is compatible with your template. My Email Address is: Tricks.blogger@gmail.com. if this code is compatible with your template. your can change content area width, background Color. font style, font color, font size, if you know about playing with CSS Codes. I highlighted a few of them in blue,



Leave your Comments & Questions Below in Comment Box. Thanks for reading our post.


More about → How To Create Blogger Static Page Neat & Clean