The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

When onclick button of "Post Reply" scroll down to the quick reply

5 posters

Go down

Solved When onclick button of "Post Reply" scroll down to the quick reply

Post by teliosmetonma1 December 19th 2018, 10:08 pm

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 Hello


Last edited by teliosmetonma1 on December 22nd 2018, 11:25 am; edited 1 time in total
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by Draxion December 20th 2018, 6:37 pm

Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by teliosmetonma1 December 20th 2018, 8:50 pm

No. I would like to click the When onclick button of "Post Reply" scroll down to the quick reply Two12 button and autoscroll you to the "Quick Reply"

Spoiler:
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by TheCrow December 20th 2018, 8:58 pm

Hello,

Your forum version is phpBB3?


When onclick button of "Post Reply" scroll down to the quick reply Thecro10
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!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by Draxion December 20th 2018, 9:05 pm

The code I gave you does that function. I use it myself.
Draxion
Draxion
Helper
Helper

Male Posts : 2518
Reputation : 321
Language : English
Location : USA

https://www.talesoftellene.com/

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by TheCrow December 20th 2018, 9:09 pm

Draxion wrote:The code I gave you does that function. I use it myself.
It does what he wants yes but he only wants the autoscroll to the editor. Not the autopost with ajax.


When onclick button of "Post Reply" scroll down to the quick reply Thecro10
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!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by SarkZKalie December 22nd 2018, 8:17 am

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
Code:
<a href="{U_POST_REPLY_TOPIC}" ><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
Replace by
Code:
<a href="#scroll-down" ><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a>
Search and replace
Code:
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
by
Code:
<a id="scroll-down" name="quickreply"></a>
{QUICK_REPLY_FORM}


When onclick button of "Post Reply" scroll down to the quick reply Sarkzk10
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1446
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by TheCrow December 22nd 2018, 9:29 am

@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');
  });
 
});


When onclick button of "Post Reply" scroll down to the quick reply Thecro10
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!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6916
Reputation : 795
Language : Greek, English

https://www.inforumgr.com

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by teliosmetonma1 December 22nd 2018, 11:24 am

Thank you Mugiwara no Luffy it works perfect!  Hello

Solved!
teliosmetonma1
teliosmetonma1
Forumember

Posts : 247
Reputation : 1
Language : greek

http://www.yugioh.gr

Back to top Go down

Solved Re: When onclick button of "Post Reply" scroll down to the quick reply

Post by Ape December 22nd 2018, 3:06 pm

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


When onclick button of "Post Reply" scroll down to the quick reply Left1212When onclick button of "Post Reply" scroll down to the quick reply Center11When onclick button of "Post Reply" scroll down to the quick reply Right112
When onclick button of "Post Reply" scroll down to the quick reply Ape_b110
When onclick button of "Post Reply" scroll down to the quick reply Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19449
Reputation : 2011
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum