ಸದಸ್ಯ:Thejeshgn/GoogleTransliteration.js: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ

Content deleted Content added
ಹೊಸ ಪುಟ: alert(1);
 
No edit summary
೧ ನೇ ಸಾಲು:
//this script allows you to use google transliteration for editing.
var languageDefaultTo = 'kn';
importScriptURI("http://www.google.com/jsapi");
google.load("elements", "1", {
packages: "transliteration"
});
 
function onLoad() {
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
[google.elements.transliteration.LanguageCode.HINDI],
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
 
// Create an instance on TransliterationControl with the required
// options.
var control =
new google.elements.transliteration.TransliterationControl(options);
 
// Enable transliteration in the textbox with id
// 'transliterateTextarea'.
control.makeTransliteratable(['wpTextbox1']);
}
google.setOnLoadCallback(onLoad);
 
alert(1);