Site Home Page
Demo
Download
Boriat

urduJSedit - Urdu Javascript Editor

What is urduJSedit
urduJSedit is a JavaScript based edit pad that allows writing Urdu and English text in any web page. Using urduJSedit, you can be sure of Urdu/English input from user regardless of what keyboard layouts they have installed on their operating system.

 

Salient features
    • Input using keyboard only (mouse input not supported)
    • Obeys popular CRULP phonetic (http://www.crulp.org) keyboard layout
    • Visual keyboard layout
    • Visual keystroke clue
Requirements
    Works with
    • IE 5.5+
    • Firefox 1+
    • Opera 7+ (with some quirks)


    Recent version of Tahoma font
    JavaScript enabled at client browser


Installation

Copy these files to web root:
urduJSedit.js
urduJSedit_keyboard.js
urduJSedit_kb.css

In main file (e.g. index.htm), add these lines in <HEAD> section:
<script src="urduJSedit.js" type="text/javascript"></script>
<script src="urduJSedit_keyboard.js" type="text/javascript"></script>
<link href="urduJSedit_kb.css" rel="stylesheet" type="text/css" />

In main file (e.g. index.htm), add these lines in <BODY> section:
<script type="text/javascript">initKeyboard("txt2");</script>

To convert a <textarea> to use urduJSedit, add this line to main file (e.g. index.htm):
<textarea id="txt" name="message" dir="rtl" class="urdujstextarea" onfocus="currentEditor('txt');" onkeypress="KeyPress(event);" rows="7" cols="50"></textarea>

To print keyboard layout, add these lines to <BODY> section in main file (e.g. index.htm):
<script type="text/javascript">PrintKeyboard();</script>

Please refer to supplied index.htm for a demo.

Other information
-----------------

To switch language with [Ctrl]+[Space] shortcut, edit urduJSedit_keyboard.js and change line 3:

var ctrlSpaceChangeLang = false;
- to -
var ctrlSpaceChangeLang = true;

Note: Opera already has [Ctrl]+[Space] shortcut defined.

Style for urduJSedit keyboard and text area are defined in urduJSedit_kb.css

License

urduJSedit is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

urduJSedit is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with urduJSedit; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Similar software

Contact
Free email support is available at:Email

Important notice
This software is Arabic to Urdu conversion from: http://www.muftah-alhuruf.com