When onclick button of "Post Reply" scroll down to the quick reply
5 posters
Page 1 of 1
When onclick button of "Post Reply" scroll down to the quick reply
i would like to have a script where you click the reply button and it scrolls you down to reply in the quick reply. Is there any scripts?
Thank you
Thank you
Last edited by teliosmetonma1 on December 22nd 2018, 11:25 am; edited 1 time in total
Re: When onclick button of "Post Reply" scroll down to the quick reply
Hello,
Your forum version is phpBB3?
Your forum version is phpBB3?
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: When onclick button of "Post Reply" scroll down to the quick reply
The code I gave you does that function. I use it myself.
Re: When onclick button of "Post Reply" scroll down to the quick reply
It does what he wants yes but he only wants the autoscroll to the editor. Not the autopost with ajax.Draxion wrote:The code I gave you does that function. I use it myself.
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: When onclick button of "Post Reply" scroll down to the quick reply
Could you please provide your current viewtopic_body template in a code tag here?
For example, you can use this and put it inside a HTML <a> tag
For example, you can use this and put it inside a HTML <a> tag
- Code:
<a href="{U_POST_REPLY_TOPIC}" ><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
- Code:
<a href="#scroll-down" ><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
- Code:
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
- Code:
<a id="scroll-down" name="quickreply"></a>
{QUICK_REPLY_FORM}
Re: When onclick button of "Post Reply" scroll down to the quick reply
@teliosmetonma1 you can do what @SarkZKalie posted above or use this javascript. Works for all versions:
- Code:
$(function(){
$('a[href*="mode=reply"]').attr({'id':'pressButton','href':'#'});
$("a#pressButton").click(function() {
$('html,body').animate({
scrollTop: $("form#quick_reply").offset().top},
'slow');
});
});
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: When onclick button of "Post Reply" scroll down to the quick reply
Thank you Mugiwara no Luffy it works perfect!
Solved!
Solved!
Re: When onclick button of "Post Reply" scroll down to the quick reply
Problem solved & topic archived.
|
Similar topics
» Quick Reply for Guests is missing smiley button
» Adding the embed video button to quick reply
» Quick Reply and Reply Not Showing Correctly
» smilies code for quick reply in reply
» Quick reply and reply some functions not working
» Adding the embed video button to quick reply
» Quick Reply and Reply Not Showing Correctly
» smilies code for quick reply in reply
» Quick reply and reply some functions not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum