Skip to content

Instantly share code, notes, and snippets.

@Porta
Created September 10, 2014 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Porta/f39eb2ebd41b2b6511f5 to your computer and use it in GitHub Desktop.
Save Porta/f39eb2ebd41b2b6511f5 to your computer and use it in GitHub Desktop.
<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