XF 1.1 Thread display option close, stop the bounce?

js/xenforo/discussion_list.js

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

Rich (BB 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,
this,document);

There are other transitions you can try which are visualized here:

http://xenforo.com/community/threads/changing-transition-for-image-resizing-in-posts.16575/
 
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.
 
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:
Top Bottom