1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Thread display option close, stop the bounce?

Discussion in 'XenForo Questions and Support' started by Neil E., Aug 27, 2012.

  1. Neil E.

    Neil E. Active Member

    I've had enough of the bouncing. I just want a basic open/close like the Quicksearch. There are some old posts like this one from Kier in: Please Don't Get Carried Away. I edited the template to try this, but it didn't stop the bounce.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member


    At the bottom of the file, add the red code:

    this.$options.is(":hidden")?this.showOptions():this.hideOptions();return!1},showOptions:function(){this.$options.xfFadeDown(XenForo.speed.normal,function(){b(this).find("input, select, textarea, button").get(0).focus()})},hideOptions:function(){this.$options.xfFadeUp(XenForo.speed.normal,0,0,'linear')}};XenForo.register("form.DiscussionList","XenForo.DiscussionList");XenForo.register(".discussionListItemEdit","XenForo.DiscussionListItemEditor");XenForo.register("#DiscussionListOptionsHandle a","XenForo.DiscussionListOptions")})(jQuery,
    There are other transitions you can try which are visualized here:

  3. Neil E.

    Neil E. Active Member

  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It will be overwritten during an upgrade.
  5. Neil E.

    Neil E. Active Member

    OK, it's a small enough change that it wouldn't really have any consequences when it reverted. I've documented it in a notepad++ file for future reference.
  6. RichardKYA

    RichardKYA Well-Known Member

    Hello @Jake Bunce ,

    I know this is an old post, but I am trying to remove the "bounce" from the inline mod thread controls. I have removed the easing out bounce the occurs when you cancel/close the toolbar. It's just the "snap back up into place" that occurs when you open the tools that I'm having a bit of trouble with. To try and be a bit clearer, the toolbar stays open, but when it opens, it "overshoots" it's actual height which pushes the threads below down a bit further, but then they "snap back up", with the toolbar left open ready to use. Dunno if that made things clearer or not lol Anyway, I want to remove that so that the toolbar opens and closes smoothly.

    Also, is it possible to remove the collapse and expand from the vote poll form so that it just stays static and switches out when you cast/change a vote?

    Any help would be appreciated :)
    Last edited: Mar 30, 2015

Share This Page