Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard


Popular Content

Showing content with the highest reputation on 08/14/21 in all areas

  1. 1 point
    Reply Button scroll to quick reply Hello 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. Javascript Go 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 editor Placement: In all the pages Code: Copy paste this code Code:$(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
×
×
  • Create New...