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.

Post a Message/reply by pressing the Alt+S

2 posters

Go down

Post a Message/reply by pressing the Alt+S Empty Post a Message/reply by pressing the Alt+S

Post by Derri November 3rd 2012, 1:27 pm

I know on some forums they have the ability to send a message/reply by pressing Alt+s.

I am wondering if this is possible on Forumotion?
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Post a Message/reply by pressing the Alt+S Empty Re: Post a Message/reply by pressing the Alt+S

Post by LGforum November 4th 2012, 1:26 am

Yes it can be solved by setting an access key on the submit button. Many of the buttons on the editor has quick keys; like alt + b will trigger the 'Bold' button and insert bold BBcodes.

Try this Javascript:
Code:
$(function() {
    var x = document.post;
    if(x && x.post) x.post.accessKey = 's';
});
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top


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