Showing posts with label Blogger. Show all posts
Showing posts with label Blogger. Show all posts

Add BlogThis! Feature to My Blogger Blog - Pro Blog Tricks

Add BlogThis! Feature to My Blogger Blog - Pro Blog Tricks

http://www.problogtricks.com/2013/08/add-blogthis-feature-to-my-blogger-blog.html

Blogger is one of most popular Blogging platforms.Millions of bloggers initiate their blogging journey using blogger.Social networks play an important role in socializing each sites.Before some years ago Blogger has introduced official social sharing button set.It contains a new feature called "Blog This!" with an orange color button.Readers can share blog posts which include BlogThis! feature through blogger. BlogThis! is not only a sharing item,it is an easy method to build backlinks without an effort.You can get Blog this option to your browser by installing Google toolbar.

What is BlogThis! ?
BlogThis! is an easy way to make a blog post without visiting blogger.com. Once you add the BlogThis! link to your browser's toolbar, blogging will be a snap. Or rather, a click. Clicking BlogThis! creates a mini-interface to Blogger prepopulated with a link to the web page you are visiting, as well as any text you have highlighted on that page. Add additional text if you wish and then publish or post from within BlogThis!
There are two ways to use BlogThis!: if you use Windows and Internet Explorer, you can use BlogThis! from the SendTo feature of the Google Toolbar. If you're on another browser, just drag the link below to your browser's Link bar. Then, whenever the mood strikes, click BlogThis! to post to your blog:

 How to Add BlogThis! Feature to Blogger blogs



You can add Blogthis! sharing item to your blogger blog easily.If you want to display it on every post,Follow below few steps respectively.

Step 1: Sign in to your Blogger account.
Step 2: Go to Dashboard >> Template >> Edit HTML.
Step 3: Find below code in your template.

<data:post.body/>

Step 4: Now paste below code just below/after of above code( Display BlogThis! feature bottom of every post page) or before/above of above code ( Display BlogThis! feature just below of post title in post pages ).

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='float:left;margin-left:12px;'>
&lt;a href=&quot;javascript:popw=&#39;&#39;;Q=&#39;&#39;;x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection) {Q=y.getSelection();} else if (x.getSelection) {Q=x.getSelection();}popw = y.open(&#39;http://www.blogger.com/blog_this.pyra?t=&#39; + escape(Q) + &#39;&amp;u=&#39; + escape(location.href) + &#39;&amp;n=&#39; + escape(document.title),&#39;bloggerForm&#39;,&#39;scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes&#39;);if (!document.all) T = setTimeout(&#39;popw.focus()&#39;,50);void(0);&quot;&gt;BlogThis!&lt;/a&gt;
</div>
</b:if>

  • By default BlogThis! link will appear in the left side of blog.If you want to display it in the right side,replace left with right.
  • To display BlogThis! in homepage and static pages,remove above highlighted two lines.
  • You can add an icon or image instead of BlogThis! text.Look at below code which display an image instead of text.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='float:left;margin-left:12px;'>
&lt;a href=&quot;javascript:popw=&#39;&#39;;Q=&#39;&#39;;x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection) {Q=y.getSelection();} else if (x.getSelection) {Q=x.getSelection();}popw = y.open(&#39;http://www.blogger.com/blog_this.pyra?t=&#39; + escape(Q) + &#39;&amp;u=&#39; + escape(location.href) + &#39;&amp;n=&#39; + escape(document.title),&#39;bloggerForm&#39;,&#39;scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes&#39;);if (!document.all) T = setTimeout(&#39;popw.focus()&#39;,50);void(0);&quot;&gt;<img src="Image-URL" title="Blogthis!" />&lt;/a&gt;
</div>
</b:if>

Step 5: Save your Template.

You're done.View your blog and see that BlogThis! sharing item is working fine on your blog.If you found any error,just leave a comment below to know me.

How to remove or change the Newer Post and Older Posts links | Blogger-Hints-and-Tips

How to remove or change the Newer Post and Older Posts links | Blogger-Hints-and-Tips:



To remove "Older Posts" add:
#blog-pager-older-link {
float: right;
}

To remove "Newer Posts" add:
#blog-pager-older-link {
float: right;
}

Or to remove both of them and the "Home" link that appears in between them, add:
#blog-pager {
display: none;
}

Apply different layout/styling to static pages | Blogger Sentral

Apply different layout/styling to static pages | Blogger Sentral:

Can I make a new page in blogger that removes the side bar stuff? - Blogger Help

Can I make a new page in blogger that removes the side bar stuff? - Blogger Help:
I have a few custom pages, and they all contain the right column stuff.  Is there a way I can make a page that removes the right column stuff, so I can use the full width of the blog on the new page?  Having new pages behave the same as blog posts, really limits what you can do with them.


Selectively style them using conditional tags:
http://www.bloggersentral.com/2010/02/apply-different-layoutstyling-to-static.html

Makes Pages as Tabs - Blogger Help

About Pages - Blogger Help:

Make Pages as Tabs

Crossfading Images | CSS3 transitions, transforms and animations

Crossfading Images | CSS3 transitions, transforms and animations:





Demo 1 - One image to another, on hover (transitions)

Plan

  1. Put one image on top of the other
  2. Change the opacity of the top image on hover

Demo

Code

First up, the HTML markup. Without CSS enabled, you just get two images. Remember to add alt text for production use.
 id="cf">
	 class="bottom" src="/tests/images/Stones.jpg" />
	 class="top" src="/tests/images/Summit.jpg" />
Then the CSS:
#cf {
	position:relative;
	height:281px;
	width:450px;
	margin:0 auto;	
}
#cf img {
	position:absolute;
	left:0;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;	
	transition: opacity 1s ease-in-out;
}

#cf img.top:hover {
	opacity:0;
}			

Demo 2 - One image to another, when a button is pressed (transitions)

Plan

Same as before, but instead of using the :hover pseudo class, we are going to use javascript to add a toggle a class. I'm using jQuery here because it's easy to understand, though you could just use plain old JS.

Demo

Click me to toggle

Code

First up, the HTML markup. Again, with no CSS enabled, you just get two images.
 id="cf2" class="shadow">
	 class="bottom" src="/tests/images/Stones.jpg" />
	 class="top" src="/tests/images/Summit.jpg" />

 id="cf_onclick">Click me to toggle
Then the CSS. I've added a class with the opacity value.
#cf2 {
	position:relative;
	height:281px;
	width:450px;
	margin:0 auto;
}
#cf2 img {
	position:absolute;
	left:0;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;	
	transition: opacity 1s ease-in-out;
}

#cf2 img.transparent {
	opacity:0;
}
#cf_onclick {
	cursor:pointer;
}			
Then the extremely short JS. Note that the browser is smart enough to realise that it can animate to the new properties, I didn't have to set them in javascript (thought that works too).
$(document).ready(function() {
	$("#cf_onclick").click(function() {
		$("#cf2 img.top").toggleClass("transparent");
	});
});			
Have a look at the multiple image demo to see how to extend this idea to more than two images.

Demo 3 - One image to another with a timer (Webkit/Firefox 5/IE10 only, transitions and animations)

Plan

You could implement this by using Javascript to toggle classes with a delay - that would allow older browsers to still have the images change. As we are looking forward though, we'll use CSS keyframes.
  1. Start with demo 1
  2. Use CSS keyframes to define two states, one with top image transparent, one with it opaque.
  3. Set the animations number of iterations to infinite.

Demo

Each image is visible for 9 seconds before fading to the other one.

Code

Everything's the same as Demo 1, but I've added this to the CSS and removed the hover selector
@keyframes cf3FadeInOut {
	0% {
		opacity:1;
	}
	45% {
		opacity:1;
	}
	55% {
		opacity:0;
	}
	100% {
		opacity:0;
	}
}

#cf3 img.top {
	animation-name: cf3FadeInOut;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-duration: 10s;
	animation-direction: alternate;
}			
To make sense of that, I've defined 4 keyframes, specified that whatever has this animation attached will be opaque for the first 45%, then transparent for the last 45%. The animation will repeat forever, will last 10 seconds, and will run forward then backwards. In other words, image 1 will be visible for 4.5 seconds, followed by a 1 second fade, followed by 4.5 seconds of image 2 being visible. Then it will reverse, meaning that image 1 and 2 will both be visible for 9 (4.5 x 2) seconds each time.

Demo with multiple images

Staggering the animations can result in a multiple image fader.
This time I've created an animation that goes from 0 to 1 opacity, then staggered the animations so only one is visible at once. It's not great, but it is maybe a start. Any suggestions on how to make this better would be gladly received!
	#cf4a img:nth-of-type(1) {
 		animation-delay: 0;		
	}
	#cf4a img:nth-of-type(2) {
 		animation-delay: 2s;		
	}
	#cf4a img:nth-of-type(3) {
 		animation-delay: 4s;		
	}
	#cf4a img:nth-of-type(4) {
 		animation-delay: 6s;		
	}

Demo 4 - More than just fades

This technique isn't limited to just fades, you can animate almost every property. Here are a couple of examples.

Zooming in and out

Hover on the image

Rotation

Hover on the image

Demo 5 - Animating the background-image property

Right now this only works on webkits built from 2012 onwards. It's not part of the spec (yet?).

Plan

  1. Make a div with a width and height
  2. Change the background-image property

Demo

Code

This only works on Chrome 18+ and on Webkit Nightlies built in 2012 onwards. It seems to be a side effect of the CSS4 crossfading work, though this is a lot more useful.
 id="cf6_image" class="shadow">
Then the CSS:
#cf6_image {
	margin:0 auto;		
	width:450px;
	height:281px;
	transition: background-image 1s ease-in-out;
	
	background-image:url("/images/Stones.jpg");
}

#cf6_image:hover {
	background-image:url("/images/Summit.jpg");		
}	
Pretty cool - this can easily be extended by simply changing the background-image property with JS, and makes things much much simpler. I'm not sure if this behaviour is part of the spec or not, and I haven't seen support anywhere other than in the afore mentioned browsers.
For a slightly more detailed example, have a look at a simple gallery using filters and fades.

Comments/Questions?

Please add any questions/corrections/extra info below. Please be courteous to other users.

Add New Comment

  • Image

Showing 0 comments

    Trackback URL 
    blog comments powered by DISQUS

    Contents

    The whole thing on one page
    1. How to use transitions
    2. How to use transforms
    3. How to use animations
    4. Cross fading images
      1. On hover
      2. On button press
      3. With timer
      4. More than just fades
      5. Animating the background-image property
    5. Sliding content
      1. Sliding by transitions
      2. Sliding by transitions + translations
    6. 3D Flipping content
    7. Animated Accordions
    8. Notes on browser support
    9. How will it look in legacy browsers?
    10. Further Reading

    How to hide, remove, delete blog post, sidebar, footer page element or body blog on blogger | seo blogger 7

    How to hide, remove, delete blog post, sidebar, footer page element or body blog on blogger | seo blogger 7: ""

    Lots of code

    Ways to display static pages list

    Ways to display static pages list:

    http://www.colormagicphotography.com/2010/02/different-ways-to-display-static-pages.html

    Remove Blogger Sidebar and Maximize Main Width on Selected Pages | Southern Speakers v3.0

    Remove Blogger Sidebar and Maximize Main Width on Selected Pages | Southern Speakers v3.0

    Remove Blogger Sidebar and Maximize Main Width on Selected Pages | Southern Speakers v3.0

    Remove Blogger Sidebar and Maximize Main Width on Selected Pages | Southern Speakers v3.0

    fullwidth

    Social media icons, SheGeeks

    10 Social Media Widgets That Can Increase Your Blog’s Traffic | SheGeeks

    GOOD

    Facebook and other social media gadget for blogger | StramaXon

    Facebook and other social media gadget for blogger | StramaXon

    1. Go to Blogger Dashboard
    2. Now click on Layout tab
    3. There, you will see option to Add a Gadget, click on it
    4. Now a pop-up will appear
    5. Select the HTML/JavaScript gadget from the list
    6. And paste this HTML code in it.

    Remember to replace the link of Facebook,Youtube,Google+,Twitter and feed with your own profile links, save it and see your blog, the gadget is looking so simple, Isn't it ? So we will style it will the CSS.


    You may paste the CSS code in template, follow these easy steps.

    1. Go to Blogger Dashboard
    2. Click on Template tab
    3. Click on Edit HTML button, and proceed
    4. Using Google Chrome default search feature (Ctrl+F) find
    5. And paste this CSS code above the



    .socialmedia-gadget
    {
    padding: 2em 0 1.5em 50px;
    }
    .socialmedia-gadget span a
    {
    display: block;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    background-color: none;
    background: transparent url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8rWyQnX2CU292mptmdW-7WLQEnin8ikv3B01mmRDaJWYcGYBxvwmyGshOTOmEWTzgG5iTnT42VQmdAftc8fgCSViKJa4KjDF9HVnUt33MmhEBPUZEafEdN2KBZEN1KlXyDjV-rupXmPUI/s1600/socialbuttons.png") 0 0 no-repeat;
    }
    .socialmedia-gadget span {
    float: left;
    display: inline;
    margin-right: 8px;
    }


    #iconTwitter
    {
    background-position: -33px -33px;
    transition:background-position .4s ease-in-out;
    -webkit-transition:background-position .4s ease-in-out;
    -o-transition:background-position .4s ease-in-out;
    -moz-transition:background-position .4s ease-in-out;
    -ms-transition:background-position .4s ease-in-out;
    }
    #iconTwitter:hover {
    background-position: -33px 0;
    }


    #iconFacebook {
    background-position: -66px -33px;
    transition:background-position .4s ease-in-out;
    -webkit-transition:background-position .4s ease-in-out;
    -o-transition:background-position .4s ease-in-out;
    -moz-transition:background-position .4s ease-in-out;
    -ms-transition:background-position .4s ease-in-out;
    }
    #iconFacebook:hover {
    background-position: -66px 0;
    }


    #iconRSS {
    background-position: 0 -33px;
    transition:background-position .4s ease-in-out;
    -webkit-transition:background-position .4s ease-in-out;
    -o-transition:background-position .4s ease-in-out;
    -moz-transition:background-position .4s ease-in-out;
    -ms-transition:background-position .4s ease-in-out;
    }
    #iconRSS:hover {
    background-position: 0 0px;
    }


    #iconYouTube {
    background-position: -99px -33px;
    transition:background-position .4s ease-in-out;
    -webkit-transition:background-position .4s ease-in-out;
    -o-transition:background-position .4s ease-in-out;
    -moz-transition:background-position .4s ease-in-out;
    -ms-transition:background-position .4s ease-in-out;
    }
    #iconYouTube:hover{
    background-position:-99px 0
    }


    #iconGooglePlus {
    background-position: -132px -33px;
    transition:background-position .4s ease-in-out;
    -webkit-transition:background-position .4s ease-in-out;
    -o-transition:background-position .4s ease-in-out;
    -moz-transition:background-position .4s ease-in-out;
    -ms-transition:background-position .4s ease-in-out;
    }
    #iconGooglePlus:hover {
    background-position: -132px 0;
    }

    Pretty long CSS code, but useful too, remember paste this code above in template, preview it, if it looks great save it.  



    MySpace Tracker - MixMap - MySpace Blog Tracker

    MySpace Tracker - MixMap - MySpace Blog Tracker