Post a Message/reply by pressing the Alt+S

Go down

Post a Message/reply by pressing the Alt+S

Post by Derri on 3/11/2012, 13:27

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?
avatar
Derri
Helper
Helper

Male Posts : 8712
Reputation : 628
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

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

Post by LGforum on 4/11/2012, 01:26

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';
});
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Back to top


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