Log in

View Full Version : Mini Mods - virtual google keyboard in your board


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>

desi-boy
05-16-2011, 09:29 AM
sorry boss chekkk u r mods before posting not working on my site

yaghoub
05-18-2011, 05:26 AM
sorry boss chekkk u r mods before posting not working on my site
i check my mode. this work perfectly. i am put screenshot.

please do it exact.

WEBDosser
05-18-2011, 05:41 AM
i remember one of these before.. maybe not on here but i have seen it and it did manage to slow down the forum display some what.