WordPress.org

Ready to get started?Download WordPress

Forums

Floating Social Bar
[resolved] Suggestion to improve the plugin (2 posts)

  1. Gautam Doddamani
    Member
    Posted 1 year ago #

    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/

  2. Thomas Griffin
    Member
    Plugin Author

    Posted 1 year ago #

    Just implemented this in the latest plugin update - thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.