Support » Plugin: Floating Publish Button » Another Use for this Plugin

  • hcsticky is a great sticky plugin. i was actually using it on my admin for something similar for anyone interested or if you want to add it:

    $(“#side-sortables”).css(‘z-index’,’99’).hcSticky({noContainer:true, top:32});

    It’s good when you have long navigation menus so you don’t have to scroll up and down every time you add a link, or page/post-type from the sidebar metabox.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Son Do


    Your idea is very cool! And I have just tried your code above. It made the whole sidebar scrolling which is cool. But I don’t think it would work when the sidebar is too long?

    Yea, I was thinking the same thing. Fortunately, for myself I usually only have “Pages” and “Links” visible in on the nav-menus.php page.

    It looks like it has a ton of built in options, but there aren’t any examples on how to use them.

    It looks like followScroll might be the answer which aparently checks if the element is bigger than the browsers window.

    It might have another option to tackle this issue and I’m just not seeing it.

    Another solution might be to check the height of the #side-sortables with jquerys “.height” and if it’s greater than the visible browsers height to disable the script.

    Maybe something like this:

    $("#side-sortables .control-section.accordion-section").on( "click", function(){
        if ($("#side-sortables").height() >= $(window).height()) {

    It looks like “reinit” will also turn it back on… I haven’t tested any of this though, My jquery is average at best.

    Plugin Author Son Do


    Sorry for my late reply. I was too busy on my normal work.

    I appreciate your idea. I will improve my plugin following your suggestions in next version.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Another Use for this Plugin’ is closed to new replies.