Created
September 10, 2014 12:21
-
-
Save Porta/f39eb2ebd41b2b6511f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript"> | |
google.load("elements", "1", { | |
packages: "keyboard" | |
}); | |
function onLoad() { | |
$('.rtl textarea, .rtl input').attr('dir', 'rtl'); | |
var kbd = new google.elements.keyboard.Keyboard( | |
[google.elements.keyboard.LayoutCode.HEBREW], | |
$('.rtl textarea, .rtl input')); | |
} | |
google.setOnLoadCallback(onLoad); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment