TheCrow 3 Posted December 22, 2018 Reply Button scroll to quick replyHello dear members,In this tutorial, I will show you an easy way where you can have your Reply button deactivated and instead of it leading you to the full editor page, it will scroll you down to your quick reply editor in the same window. The installation is very simple.JavascriptGo to: Administration Panel > Modules > HTML & Javascripts > Javascripts Codes Management and make sure the Enable Javascript code management : is set to Yes. Then you have to press the Create a new Javascript button and fill in the information as below:Title: Autoscroll of reply image to quick reply editorPlacement: In all the pagesCode: Copy paste this codeCode:$(function(){ $('a[href*="mode=reply"]').attr({'id':'pressButton','href':'#'}); $("a#pressButton").click(function() { $('html,body').animate({ scrollTop: $("form#quick_reply").offset().top}, 'slow'); }); });And press the Sumbit button.That is all. I hope you enjoyed this tutorial!© crossroadz.net 1 Share this post Link to post Share on other sites
SLGray 548 Posted August 14, 2021 Great tutorial! Thanks for sharing. Share this post Link to post Share on other sites