Jump to content

Simple suggestion re: Fast Reply


Guest TCWT

Recommended Posts

Nice idea - to add this feature manually, open the skin group "Topic View", edit the template bit "quick_reply_box_closed" and add

document.getElementById('fast-reply_textarea').focus();

at the end of the HREF attribute, so it looks something like this:

<a href="java script:ShowHide('qr_open','qr_closed'); document.getElementById('fast-reply_textarea').focus();" title="{$this->ipsclass->lang['qr_open']}" accesskey="f"><{T_QREPLY}></a>



(it's not actually supposed to say java script: with a space)

Link to comment
Share on other sites

I have to click into the text field whilst using the standard "Add Reply", should that not be the case?



That's normal. Perhaps, it should be applied to the standard Add Reply too.

Thanks for the code. :)
Link to comment
Share on other sites

Thanks, any way to not apply it to Add New Topic? Cursor should be on Topic Title field when creating new topics. :D

EDIT: and while we're at it, the cursor should be on recipient's field when composing PMs. :thumbsup:

Link to comment
Share on other sites

BTW, this does not work:

# Open the skin group 'Post / PM Editor' of your skin and edit the template bit 'ips_editor'
# In the beginning add:

<script type="text/javascript">setAutoFocus('{$editor_id}_textarea');</script>


Link to comment
Share on other sites

That's funny because I only use the normal reply when I have to close a topic. Hell I wouldn't have to use normal reply if there were mod actions in the fast reply. It just seems to me that such a logical modification would have been implanted into IPB by now instead of staying 3rd party.

Link to comment
Share on other sites

  • 2 weeks later...

Actually having the cursor automatically jump to the text field on the regular reply and PM editor may not be such a good idea. Whenever you Preview a message/post, the page jumps down and you'll have to scroll back up.. it's kinda annoying. I think I'm going to just apply it for Fast Reply only.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...