Giter VIP home page Giter VIP logo

odia-virtual-keyboard's Introduction

Odia Virtual Keyboard

Odia Virtual Keyboad with theme and drag support

This a sample Odia virtual keyboard script written in HTML, Java Script (jQuery) and odia web font.

  • Three color theme (Black, White, Blue).
  • Used draggabilly plugin to enable drag functionality.

Plugins used:

  • bootstrap v3.3.4 css file
  • draggabilly js file

How to use ?

Step-1:

Use below meta tag in tag of your page

In Java web application you may face an issue while showing dynamic content (odia font) from database. You may use the below filter.

<filter>  
    <filter-name>encodingFilter</filter-name>  
    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>  
    <init-param>  
       <param-name>encoding</param-name>  
       <param-value>UTF-8</param-value>  
    </init-param>  
    <init-param>  
       <param-name>forceEncoding</param-name>  
       <param-value>true</param-value>  
    </init-param>  
</filter>  
<filter-mapping>  
    <filter-name>encodingFilter</filter-name>  
    <url-pattern>*.html</url-pattern>  
</filter-mapping> 

Step-2:

Include below css files in tag of your page.

<link href="css/odia-keyboard.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />

Step-3:

Include below script files before tag.

<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/draggabilly.pkgd.min.js"></script>
<script type="text/javascript" src="js/odia-keyboard.js"></script>

NB: Please make sure you have included only one jQuery file. (This example uses jQuery 3.1.1)

Sample Input field

<input type="text" name="name" class="odia_char_input" id="odia_name" style="width: 250px;" required="">

Sample Keyboard picker image icon to trigger keyboard on click event.

<img alt="" src="images/keyboard-icon.png" width="55" height="35" id="odia_name_kb" class="odia_kb">

Include content of div#odia_keyboard and div#char_container in your page.

<div id="odia_keyboard" class="keyboard pop draggable keyboard_theme3" >
...
</div>
<div id="char_container">
...
</div>

Update top and left position of the keyboard in odia-keyboard.css file

#odia_keyboard{
  font-size: 25px; 
  display: none; 
  left: 50px; 
  top: 50px;
}

Screenshot:

odia-virtual-keyboard's People

Contributors

trytusar avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.