Support » Plugin: Floating Social Bar » Suggestion to improve the plugin

  • Resolved Gautam Doddamani

    (@gautam-doddamani)


    hi syed i noticed a small glitch in the plugin…on your site wpbeginner.com whenever i am scrolling “very slowly” towards the comments section specifically near “ADD A COMMENT” heading, the social bar behaves erratically…like it can’t figure out either to show or close…

    to fix this small glitch i have used a jquery fadein effect so that the social bar displays and closes smoothly towards the end (in the comment area)…check it out

    // If we are below the bar but above comments, set a fixed position.
                 if ( y > fsb_top && y < offset )
                  $('#fsb-social-bar').addClass('fsb-fixed').css('width', $('#fsb-social-bar').parent().width()).fadeIn();
                else if ( y >= offset )
                  $('#fsb-social-bar').removeClass('fsb-fixed').css("display","none");
                else if ( y < fsb_top )
                  $('#fsb-social-bar').show().removeClass('fsb-fixed');

    make the changes in fsb.js file…hope everyone else will benefit from it!! thanks again for the great plugin 🙂

    http://wordpress.org/extend/plugins/floating-social-bar/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion to improve the plugin’ is closed to new replies.