Thursday, 2 May 2013

How to Add - Static Buttons on Blogger?

Posted by Arun Kumar Choppara On 15:40 | No comments
Most of the times, we need static buttons should be displayed on the blog in order the make the visitor accessible to something from anywhere on the blog.In such cases, we need to have a button that could actually help the visitor to access something that is required from anywhere on the page. The buttons are static buttons.
By clicking this button the page should go to the respective page or the link.

Let us see the process of adding Static buttons any where on blogger.



1. We should have a button image and its address
We can either create a button using paint and then upload it to any of the blog post and get its address
(by Right click -> Copy Link Location) or
Get the address of any button image from the web.





for each image get the Image link location by using (Right Click -> Copy Link Location) for the above images.

http://3.bp.blogspot.com/-yX4tciEu7_o/UYLpWoa-ceI/AAAAAAAAATg/ol9MtIISIgc/s1600/facebook.png
http://1.bp.blogspot.com/-jQZcI0LLC2o/UYLpWhfZ8fI/AAAAAAAAATc/xa1gSNEdgPg/s1600/twitter.png
http://2.bp.blogspot.com/-ghApCMR1TzM/UYLpXsHm-GI/AAAAAAAAATs/8CHKMPPWb-4/s1600/youtube.png

2. We need to have code for the button functionality for each image as shown below.


<a style="display:scroll;position:fixed;top:200px;left:40px;"href="FACEBOOK ADDRESS" title="Facebook Link"><img src="FACEBOOK IMAGE ADDRESS"/></a>

<a style="display:scroll;position:fixed;top:275px;left:40px;"href="YOUTUBE USER ADDRESS" title="Youtube Channel Link"><img src="YOUTUBE IMAGE ADDRESS"/></a>

<a style="display:scroll;position:fixed;top:360px;left:40px;"TWITTER ADDRESS" title="Twitter Link"><img src="TWITTER IMAGE ADDRESS"/></a>


3. Replace the BUTTON IMAGE ADDRESS text with the actual button address.

<a style="display:scroll;position:fixed;top:200px;left:40px;"href="https://www.facebook.com/arun.k.choppara" title="Facebook Link"><img src="http://2.bp.blogspot.com/-ed9brl3CmME/UYLh3xiGA5I/AAAAAAAAASw/Wm0T1wc5hgo/s1600/facebook.png"/></a>

<a style="display:scroll;position:fixed;top:275px;left:40px;"href="https://www.youtube.com/ArunKumarChoppara" title="Youtube Channel Link"><img src="http://3.bp.blogspot.com/-zBG8fJ0604w/UYLh4jxGvPI/AAAAAAAAATA/iIcnDUv9dio/s1600/youtube.png"/></a>

<a style="display:scroll;position:fixed;top:360px;left:40px;"href="https://www.twitter.com/ArunChoppara" title="Twitter Link"><img src="http://1.bp.blogspot.com/-i83RLMs60gI/UYLh4J5Ex5I/AAAAAAAAAS4/in3bSXPy2O4/s1600/twitter.png"/></a>



4. Add a gadget - HTML/JavaScript with the code that we have for static button functionality.

5. Save the gadget and save template.

6. View blog to see the changes.

If you like the post, take a couple of minutes to comment and share.
Your comments are most valuable and would help me come up with better posts.
Reactions:

0 comments:

Post a Comment

ABOUT ME

Founder & Author: Hi Friends, my name is Arun Kumar Choppara. I am a Software Engineer by profession and a passionate blogger. I have started blogging as a hobby and now addicted to it.
...Read More