साँचा:KKGlobalSearch
<link rel="stylesheet" href="maincss.css">
<script type="text/javascript" src="http://www.google.com/jsapi"></script> <link href="http://www.google.com/uds/modules/elements/transliteration/api.css" type="text/css" rel="stylesheet"/> <script type="text/javascript">
// Load the Google Transliteration API 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(['transliterateTextarea']); } google.setOnLoadCallback(onLoad); </script>
<body class=bodyclass onLoad="document.getElementById('transliterateTextarea').focus();">
<form id="searchform" action="http://www.kavitakosh.org/kk/index.php?title=%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:Search" target="_top" onsubmit="javascript:validateForm(); return false;">
<input type="text" id="transliterateTextarea" name="search" style="width:100%; height:35px; font-size:18px" /> |
<input type="submit" value="खोजिये" /> |
हर शब्द के बाद स्पेस दबाइये (आखिरी शब्द के बाद भी) <input type="button" value="खोज सहायता" onClick="javascript:showHideSection('searchhelptext')"/> | |
</form>
<script type="text/javascript" language="javascript"> function showHideSection(sectionDivID, doWhat){ var oSection=document.getElementById(sectionDivID);
if(!doWhat){ if(oSection.style.display == "none") { oSection.style.display = "block"; } else { oSection.style.display = "none"; } }
if(doWhat=="show"){ oSection.style.display = "block"; }
if(doWhat=="hide"){ oSection.style.display = "none"; }
}
function validateForm(){ if(document.getElementById('transliterateTextarea').value==){ alert('Please enter search keyword(s)'); document.getElementById('transliterateTextarea').focus(); return false; } else{ document.getElementById('searchform').submit(); } } </script>
<script type="text/javascript" language="javascript">
var sc_project=2287260;
var sc_invisible=1;
var sc_partition=21;
var sc_security="c5a81de5";
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c22.statcounter.com/counter.php?sc_project=2287260&java=0&security=c5a81de5&invisible=1" alt="hit counter script" border="0"></a> </noscript>
</body>
</html>