Post a Message/reply by pressing the Alt+S

Go down

Post a Message/reply by pressing the Alt+S

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

Male Posts : 8713
Reputation : 629
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 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';
});
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