Skip to content

c42759/ckeyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

preview image

ckeyboard

A simple jQuery on screen keyboard.

Features

  • Easy Setup
  • Switch layout on the Fly
  • Supports multiple input fields
  • Custom layout

1. Getting Setup

1.1. Installation

  • First, copy and paste dist/ckeyboard.min.js in your project, and link to it before the closing </body> element. Make sure jQuery is linked before this.
  • Next, you'll need to copy and paste the plugin's CSS into your project.
  • Lastly, link to the keyboard CSS file ckeyboard.css file before the closing </head> element.

Note: This plugin requires your website or application already runs a copy of jQuery, version 3.x.x or higher.

<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="ckeyboard.min.js"></script>
<link rel="stylesheet" href="ckeyboard.css">

1.2 The Basics

The first thing you will require is a keyboard holder that will hold the keyboard, and an input field on which the keyboard will operate.

<input type="text" id="search_field" maxlength="25">
<div id="keyboard"></div>
<div id="keyboard_numeric"></div>
cKeyboard_config.input_target = "#search_field";
cKeyboard();

License

MIT License: See the LICENSE file.

About

Simple jQuery screen keyboard for everyone!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published