yaghoub
05-15-2011, 10:00 PM
This mod will help you a virtual keyboard to have into your site.
it is very simple.
find header templat and In the end it put this code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ENGLISH]);
}
google.setOnLoadCallback(onLoad);
</script>
for persian lang put this code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.PERSIAN]);
}
google.setOnLoadCallback(onLoad);
</script>
for arabic lang put this
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ARABIC]);
}
google.setOnLoadCallback(onLoad);
</script>
SCREENSHOT
Please Request to other languages ....
FOR Two LANG PUT THIS cod AND WHIT AROW Switch Between
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ENGLISH]);
}
google.setOnLoadCallback(onLoad);
</script>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.PERSIAN]);
}
google.setOnLoadCallback(onLoad);
</script>
it is very simple.
find header templat and In the end it put this code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ENGLISH]);
}
google.setOnLoadCallback(onLoad);
</script>
for persian lang put this code
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.PERSIAN]);
}
google.setOnLoadCallback(onLoad);
</script>
for arabic lang put this
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ARABIC]);
}
google.setOnLoadCallback(onLoad);
</script>
SCREENSHOT
Please Request to other languages ....
FOR Two LANG PUT THIS cod AND WHIT AROW Switch Between
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.ENGLISH]);
}
google.setOnLoadCallback(onLoad);
</script>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("elements", "1", {packages: "keyboard"});
var kbd;
function onLoad() {
kbd = new google.elements.keyboard.Keyboard(
[google.elements.keyboard.LayoutCode.PERSIAN]);
}
google.setOnLoadCallback(onLoad);
</script>