Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorichigo
    • CommentTimeAug 1st 2005 edited
     # 1
    is it possible to do an extention for that? or will it be a core feature in the future?
    •  
      CommentAuthorlech
    • CommentTimeAug 1st 2005
     # 2
    you mean to "add comment" or to shoot down to the comment box?
    •  
      CommentAuthorichigo
    • CommentTimeAug 1st 2005
     # 3
    to send the comment
    •  
      CommentAuthorlech
    • CommentTimeAug 1st 2005 edited
     # 4
    suppose accesskey = A for that one might work. not sure what select all is though for macs. but I don't think this is really even that necessary.

    lech holds back the lazy jokes
    • CommentAuthorDenied
    • CommentTimeAug 1st 2005
     # 5
    select all is apple/cmd + a.

    access keys, however, use ctrl on a mac, so there wouldn't be any conflict, if that's what you're getting at.
    •  
      CommentAuthorichigo
    • CommentTimeAug 1st 2005
     # 6
    i think you got me wrong...

    i mean it is possible to assign an accesskey to the submit tag (sorry input tag was wrong) of the comment form

    so that you are able to do "alt+s" aka "option+s" (on macs ctrl+s) to submit the comment form (just like the shortcuts when you use icq to do instant messaging
    •  
      CommentAuthordom
    • CommentTimeAug 1st 2005 edited
     # 7
    Well, there are 2 reasons I would deem this unneccessary and/or damaging (we'll come onto possible in a moment):

    1. Alt+S is currently used for the "Search" link, which seems like a more natural use for it in my mind.
    2. You can just tab+enter, or if you have comment format radios visible and your browser doesn't support submitting the form on enter when a radio button is focused, then tab+tab+enter (or tab+tab+tab+tab+enter on some browsers/OSes)

    Having said that, a lot of people have been requesting this apparently because a lot of other existing boards use this feature. So, yes, it is possible. An extension could simply add an empty link which goes something like:

    <a href="javascript:formname.submit;" accesskey="s"></a>

    Then just make sure it won't be conflicting with the "Search" accesskey, and you're laughing.

    edit: The code sample is coming up with &lt; instead of the actual <, which I think has already been reported about the markdown formatter, but I thought I'd check...

    edit: Or maybe this is due to it being in a code section?

    dom shrugs
    •  
      CommentAuthorlech
    • CommentTimeAug 1st 2005
     # 8
    Yeah, I think this is wholely uneccesary as long as you can just tab + return
    •  
      CommentAuthorichigo
    • CommentTimeAug 1st 2005
     # 9
    the problem with tab and return is that you have to do tab tabt ab until youre at the submit button because else you would just select another radio button (in my case safari) and because alt+s is widely used on other systems...it seems like a convention

    ill try to do that suggested method thank you dom
Add your comments
    Username Password
  • Format comments as