How to Implement Ajax Floating Feature on Digg Digg WordPress Plugin
Digg digg WordPress Plugin is a social bookmarking tool for WordPress. This plugin has many features to make your blog easy to submit to various social network sites, including:
- Digg
- Dzone
- Yahoo Buzz
- TweetMeme (twitter)
- Facebook Share / Like
- Polladium
- StumbleUpon
- Delicious
- Sphinn
- Post Comments
- Google Buzz buttons
- Designbump
- Designfloat
- The web blend
- BogEngage
One that I love from this plugin is the Ajax Floating feature. Ajax Floating makes the buttons show at the left side of the post or page, scroll down as the people read the post. If you see the social network share buttons at the left side of each post on this blog, so that is the Ajax Floating. To use ajax floating, please refer to the official page of Digg Digg WordPress plugin, and see the faq section.
But, to implement ajax floating on your WordPress theme you need to configure the CSS margin-left and Javascript marginLeft scrolling position value. Due to the different theme layout design, high chance the pre-defined settings are not suitable.
After you have enabled ajax floating and selected which services / buttons you want to display, then you have to configure the initial position and scrolling position. Here’s example of mine:
Initial Position – This is the position where the buttons initial display, try change the default “margin-left” value to suit your theme.
.dd_ajax_float{
…
margin-left:-80px;
margin-right:0;
…
}
Scrolling Position – This is position where the buttons display while you scrolling the page, try change the default “marginLeft” value to suit your theme.
if ( scrollY > descripY && !fixedShare ) {
$postShare.stop().css({
position: ‘fixed’,
left: ’50%’,
top: 10,
marginLeft: -544
});
}
I’ve tried thrice until I found these values that are suitable with my WordPress theme.
Ready To Get Started?
Facebook Comments
{ 5 Responses to “How to Implement Ajax Floating Feature on Digg Digg WordPress Plugin” }
Read them below or add one









I noticed of the wealth of content you’ve on your site and I have found it very educational
Reply
Thanks a Lot for giving me information about
DIGG Digg share button
Reply
Sorry for the noob question, but where is section of code in digg digg. I have been trying to find it in the app css and php for a while with no luck.
Reply
Webmasteradvance
Twitter: webmasterdiary
Reply:
July 19th, 2011 at 8:52 am
I prefer to use cevshare now
Reply