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

Changes

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

मीडियाविकि:Common.js

159 bytes removed, 13:12, 22 जून 2014
if (mwCustomEditButtons) {
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/8/80/Button_upper_letter.png", "speedTip": aH "Insert Superscript", "tagOpen": aH "<sup>", "tagClose": aH "</sup>", "sampleText": aH ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png", "speedTip": aH "Line break", "tagOpen": aH "<br />", "tagClose": aH "", "sampleText": aH ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//upload.wikimedia.org/wikipedia/en/c/c8/Button_redirect.png", "speedTip": aH "Redirect", "tagOpen": aH "#REDIRECT [[", "tagClose": aH "]]", "sampleText": aH "Insert text"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": aH "http:httpaH//www.kavitakosh.org/kk/images/c/cd/Button_poem.png", "speedTip": aH "Poem tag", "tagOpen": aH "<poem>", "tagClose": aH "</poem>", "sampleText": aH "रचना यहाँ टाइप करेंrachanaa yahaa.N Taa_ip kare.n"};
}
var strPos = 0;
var br = ((txtarea.selectionStart || txtarea.selectionStart == '0') ?
"ff" : aH (document.selection ? "ie" : aH false ) );
if (br == "ie") {
txtarea.focus();
function walkTheDomAndTranslit(rootEl){
var rootnode=document.getElementById(rootEl);
var walker=document.createTreeWalkercreateTreealker(rootnode, NodeFilter.SHOW_TEXTSHO_TEXT, null, false);
while (walker.nextNode()){
var tstr=unicode2itrans(walker.currentNode.textContent);
}
var tButton=document.getElementById('translitButton');
tButton.innerHTML="देवनागरी में बदलेंdevanaagaree me.n badale.n";
tButton.onclick = function() {setCookie('kklipi', 'hi'); window.location.reload();};
setCookie('kklipi', 'en');
}
function unicode2itrans(strText){
var array_one = new Array( "aa", "aa.u", "a", "ee", "i", "oo", "u", "RRi", "e", "ai", "o", "au","aa", "िi", "ee", "u", "oo", "Ri", "e", "ai", "o", "au", ".n", ".N", ":aH", ".h", ".a", "aa.u","क़q", "ख़Kh", "ग़G", "ज़z", "ड़.D", "ढ़.Dh", "फ़f","k", "kh", "g", "gh", "~N", "ch", "chh", "j", "jh", "~n", "T", "Th", "D", "Dh", "N","t", "th", "d", "dh", "n", "p", "ph", "b", "bh", "m","y", "r", "l", "v", "sh", "Sh", "s", "h","Z.hY", "ZYa", "ZVa_", "aVa_", "V", "W", "Y", "Z","0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "OM" );var array_two= new Array( "VaaWaa", "Vaaaa.uWu", "VaWa", "VeeWee", "ViWi", "VooWoo", "VuWu", "VRRiWRRi", "VeWe", "VaiWai", "VoWo", "VauWau","aa", "i", "ee", "u", "oo", "Ri", "e", "ai", "o", "au", ".n", ".N", "aH", ".h", ".a", " aa.u","YqZq", "YKhZKh", "YGZG", "YzZz", " Y.DZD", "Y.DhZDh", "YfZf", "YkZk", "YkhZkh", "YgZg", "YghZgh", "Y~NZN", "YchZch", "YchhZchh", "YjZj", "YjhZjh", "Y~nZn", "YTZT", "YThZTh", "YDZD", "YDhZDh", "YNZN","YtZt", "YthZth", "YdZd", "YdhZdh", "YnZn", "YpZp", "YphZph", "YbZb", "YbhZbh", "YmZm","YyZy", "YrZr", "YlZl", "YvZv", "YshZsh", "YShZSh", "YsZs", "YhZh","", "a", "a_", "a_", "", "", "", "","0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ".", "OM" );
text2BProcessed = strText;
for (ctr=0; ctr < 95; ctr++){
//Call function to decide which lipi is to be used for displaying the page.
$(function() {
decideLipi('globalWrapperglobalrapper');
});
var selectedOption=document.getElementById(selectElement).value;
if (selectedOption!="") {
var baseloc = "http:httpaH//kavitakosh.org/kk/";
wrapperElement.innerHTML=""
wrapperElement.innerHTML="लोडिंगloDi.ng... " + selectedOption;
self.location.href=baseloc+selectedOption;
}
$(document).ready( function() {
$(window).scroll( function() {
if ($('#poet-list-anchors-container').length){  if ($(window).scrollTop() > $('#poet-list-anchors-container').offset().top)) $('#poet-list-anchors').addClass('floating'); else $('#poet-list-anchors').removeClass('floating'); }
} );
} );
 
// To togle the anchor list visibility
$(document).ready(function(){
if ($('#poet-list-anchors-container').length) $("#poet-list-letter-set-toggle").click(function(){ $("#poet-list-letter-set").toggle(1000); });
});
////////////////////////////