Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove keys & Open keyboard automatically #49

Closed
pilonscv opened this issue Feb 4, 2012 · 6 comments
Closed

Remove keys & Open keyboard automatically #49

pilonscv opened this issue Feb 4, 2012 · 6 comments

Comments

@pilonscv
Copy link

pilonscv commented Feb 4, 2012

Hello,

It is possible remove some keys? how?

It is possible have the keyboard open... everytime open... when we go to the page see the keyboard without click.

@Mottie
Copy link
Owner

Mottie commented Feb 4, 2012

I don't mean to sound rude, it's all in the documentation.

Just read through the options. Look at layout and customLayout options for custom keyboard setups. And look for alwaysOpen or you can use the method below to just open it when the page loads but it won't always be open, like this:

$('#keyboard').keyboard({

  initialized : function(e, keyboard, el) {
    keyboard.reveal();
  }

});

Here is a demo of the above code, but I left in all of the options. I hope that isn't too confusing. You can get to a fresh version if you go to the main demo page and click the playground link, then you can try out all of the different settings.

@pilonscv
Copy link
Author

pilonscv commented Feb 4, 2012

Hello Mottie thanks.

I thing i solve my problem... i only dont know how remove keys... i read and read but can´t find...

Can you please give me the name of the file and the line to remove key... i want remove enter...

Thanks

@Mottie
Copy link
Owner

Mottie commented Feb 4, 2012

Well you have two options:

  1. Make a completely custom keyboard layout without an enter key. This is why I mentioned customLayout before.

  2. Add the following css:

    .ui-keyboard-enter { display: none; }

    to just hide the enter key. It will shift the position of the other keys in that row.

@Mottie
Copy link
Owner

Mottie commented Feb 5, 2012

Has this been solved as well? I'm going to close it, but feel free to re-open it if you are still having problems.

@Mottie Mottie closed this as completed Feb 5, 2012
@pagodzik
Copy link

So, to hide ONE key I have to do all keyboard layout?
There is no option in display like:
'tab':false
?

@Mottie
Copy link
Owner

Mottie commented Jan 11, 2021

Sorry, no... but I will consider including something like that once I get around to updating this library.

@Mottie Mottie mentioned this issue Jan 11, 2021
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants