भारत की संस्कृति के लिए... भाषा की उन्नति के लिए... साहित्य के प्रसार के लिए

Changes

Kavita Kosh से
यहाँ जाएँ: भ्रमण, खोज

खोज पृष्ठ

638 bytes removed, 12:44, 28 सितम्बर 2010
<html>
<script>
/*
* How to setup a textarea that allows Transliteration from English to Hindi.
*/
 
google.load("elements", "1", {packages: "transliteration"});
function OnLoad() {
var content = document.getElementById('content');
// Create the HTML for our text area
content.innerHTML = '<div>Type a word and hit space to get it in Hindi. ' +
'Click on a word to see more options.</div>' +
'<textarea cols="100" rows="5" id="transliterateTextarea"></textarea>' +
'<div>Type in (do not copy/paste): ' +
'<b>namaste main yahan apke madad karane ke liye hun</b></div>';
 
var options = {
sourceLanguage:
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'.
}
</script>
</html>
<table style="width:500px;">
</td></tr></table>
</html>
<html>