October 18, 2009

Bounce & Share - Social Bookmarking Widget !


Here's a cool new social bookmarking widget for your blog, with on-hover animation effect. The icons will bounce up as soon as you place your mouse cursor over these icons.



Check out the live demo here: Bouncing Icons

Instructions to add these buttons:

STEP #1
Log in to Blogger -> Layout -> Edit HTML and select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template:
</head>
And immediately ABOVE/BEFORE it, paste this code:
<!--BOUNCING-ICONS-START-->
<link href='http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/screen2.css' media='all' rel='stylesheet' type='text/css'/>
<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'/>
<script src='http://files.main.bloggerstop.net/uploads/3/0/2/5/3025338/execute.js' type='text/javascript'/>
<!--BOUNCING-ICONS-STOP-Help-http://bloggerstop.net-->

STEP #2:
Now find this code in the template:
<data:post.body/>
And immediately BELOW/AFTER it, paste this code:
<!--SOCIAL-BOOKMARKING-BUTTONS--><br/>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<center>
<ul id='nav-shadow'>
<li class='button-color-1'><a expr:href='&quot;http://twitter.com/home/?status=Currently reading-&quot; + data:post.title + &quot; &quot; + data:post.url' target='_blank' title='Tweet This Post'/></li>
<li class='button-color-2'><a expr:href='&quot; http://www.stumbleupon.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'/></li>
<li class='button-color-3'><a expr:href='&quot; http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'/></li>
<li class='button-color-4'><a expr:href='&quot; http://digg.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'/></li>
<li class='button-color-5'><a expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank'/></li></ul></center>
<a href="http://bloggerstop.net/2009/10/bounce-share-social-bookmarking-widget.html" target="_blank"><span style="font-size: x-small;">Get this widget</span></a>
</b:if>
<!--SOCIAL-BOOKMARKING-BUTTONS-http://bloggerstop.net-->

Now SAVE the template. And let your visitors share your articles.


NOTE: Although the required css and js files are already uploaded and linked by me in STEP #1, but as a backup you can download and save them on your PC:

BackUp - STEP #1
Download these files:
Screen2.css
execute.js

from Ziddu as a zipped file

BackUp - STEP #2
Upload those two files to MyDataNest (Registration required)
and copy the DIRECT LINKS to these two files.



This section of the post is ONLY FOR THOSE readers, who are not happy with the above icons or they want to use their own icons or if they want to remove/include any other bookmarking icon.
(This is a little bit difficult part. Actually not difficult, but will certainly take some time.)

This is complicated not only because of the additional coding, but also because you have to work with Adobe Photoshop (but don't worry as more than half of the work is already done for you).

Download all the circular icons (including Yahoo, Technorati etc.) from here:
BlogPerfume.

Then contact me, for the .PSD image (Icons.psd) containing all icons used in the above tutorial.

In the .PSD image, replace the icons with the new icons you got from BlogPerfume. Save the image as icons-new.png
Upload this new file to TinyPic.com and get the Direct Link to this file.
Then in the Screen2.css file, replace this link (http://i38.tinypic.com/ojpky0.jpg) with the new DIRECT LINK you just obtained from tinypic.com

Finally, in the STEP #4, change the code, depending on the network icon selected by you. [code to add other social networking icons]


*Update: You may download and use these icons too:

Red and White Pearl Social Icons by WebTreat


Silver Glossy Icons by WebTreat


Glossy Orange White Icons by WebTreat


Glossy Blue White Icons by WebTreat


Credits: Bounce & Share widget by BloggerStop. This tutorial is based on Realistic Hover Effect With jQuery by Adrian. Icons used in the widget are free-to-use icons created by BlogPerfume.



35 comments:

PaidForWritedown said...

Woowwwwww......... This one is really cool!

Anonymous said...

I think there is an error.I deleted "center" code and I added "/b:if" before "!..Social Bookmarking...." code and now it worked

Divya Sai said...

Thanks buddy, just updated the code with the closing center and b:if tags. It will work perfectly now. Thanks again.

bolang said...

very nice bookmarking widget ;)
I like it...

Anonymous said...

The element type "b:if" must be terminated by the matching end-tag "".

AL Humam said...

Hi
I cannot find data:post.body in my HTML layout, can u help?

rudy said...

that trick can not work properly in my blog, can you tell me why???

Sai @ BloggerStop said...

Code updated, plz try again...

Divya Sai said...

@Al Humam,

Mark the tick-box "Expand Widget Templates", and you'll find that code!

apol said...

dude can you help me add these icons in wordpress?

Divya Sai said...

Never tried...but lets see!
You have got access to the template right ?
so simply add the code from step #3 into your templates head region (i.e. just before the tag </head>).

apol said...

followed the instructions but got some error

i added the code in step 3 to my header.php just before the head

also added the codes in step 4 to my single post.php and got some error

any fix for these?

thank you

Divya Sai said...

In step #4,
delete these two lines, and then try to save it:

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

apol said...

still get some errors....
the whole data cant be seen...

Divya Sai said...

What's the error?
and what's your blog address?, let me check the code of step 3

apol said...

all my posts were gone...
check it here http://fodgeeboi.com

Linseypop said...

Im also getting ""b:if" must be terminated by the matching end-tag " cant figure out what's wrong...~x(

Divya Sai said...

I think this error is due to the code from step 3, have you tried pasting the code in a text widget?

apol said...
This post has been removed by the author.
apol said...

tried it, the icons were there but i guess it has some issues with the theme? right?

Divya Sai said...

@Linseypop
Just now I have changed the position of the closing b:if tag, plz try it now (Step #4).

@apol
you'll not find a plugin for WP, because this is a customized widget I have made, as mentioned in the credits. I do have installed wp on one of my sub-domains but never tried creating a plugin for wp

apol said...

ok, maybe i'll just revert it back to the conventional one...
but anyways thanks for the time...:-/

Misty said...

Me again...you have a lot of great things here which I want to ad to my blog, but I'm having trouble...

I can't find just data:post.body in my html even with Expand Widget Templates checked. Instead, I find it with a p on either side of it in three different places.


Where should I paste your code?

Thanks again!

Misty said...

Nevermind, I figured it out!

Call Center Blogger said...

When I installed this the first time it worked fine for about an hour or so. I made an adjust by including
before the codes so that it wont overlap with images and videos I may have on some blog posts. It still worked fine after adding the breaks but after being satisfied after for a couple of hours, the share icons are not bouncing anymore!!! LOL

Can you tell me what's wrong with it? My blog adress is in my comment above here.

Call Center Blogger said...

never mind. I figured it out by myself. I was running a wibiya toolbar before I started using your widget. Both worked for some time together but after a while both had problems running. Your icons dont bounce anymore then my wibiya widget disappeared too. Good thing I backed up my template. I just re-installed my back-up and got my wibiya toolbar back. Thanks.

High Speed Downloads Team said...

hello i nominated ur blog..

Divya Sai said...

Thank you so much :)

AhsanShankar said...

Nice collection of widgets and thanks for sharing here

Robin said...

Hi, this is great! Can you make one bouncing button for the AddToAny drop-down widget using the "open source" share icon?

Divya Sai said...

Hey Robin, couldn't get you. Can you please explain in detail what exactly you want?

Poker Rooms - Kat said...

Great bookmarking widget... thatz cool... thanks anyways :)
Katrina

faizypuri said...

hey plz help me i realy want this widget in my blog i have implemented this code in blog but never worked!!neither gave me any error but there is no widget on the page plz check it out http://faizypuri.blogspot.com and help me out!!
I would realy appreciate ur help!!

Abbas Ali said...

THis very cool but i am not able to implement in my blog
http://arena-of-professionals.blogspot.com/

admin said...

I have added Bounce & Share - Social Bookmarking Widget, to my blog but it`s not working! Can someone help me with this please ~x(

Regards From Michel.J

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

comment on this post Share Your Views

Allowed HTML tags: <b>, <i> and <a>

Join and share your views with other bloggers at BloggerStop Community

Comment Like This! and Optimize your blog...

SPAMMER OF THE MONTH: www[.]Seeking4Hosting[.]com

Next Post Homepage Previous Post

Regular Readers


What They Say...

Divya Sai is the ingenious webmaster of Bloggerstop.Net. Divya is extremely patient, knowledgeable and responsive... Bloggerstop.net has an abundance of articles on creating widgets, templates, hacks and ways to make your blog search engine friendly.
- Stacey @Pets With Allergies
I stumbled onto a great site. Sai, over at Bloggerstop.net has helped me tremendously and with great patience...for any and all questions regarding computer issues. And again, THANK YOU Sai.
- Cheryl @Cmash Loves To Read

More Here...

Popular Posts

Get this widget

| © 2010 BloggerStop.net | Blogger Widgets | Template by Dicas Blogger | Enhanced By Divya Sai | Privacy Policy