Posts Tagged ‘Internet Explorer’

Mobileslate Browser Toolbar

I am attempting to try something different. I found out that I can create my own browser toolbar as a way to keep in touch with my readers. But it’s not just a way for you to access my content [...]

Read More

Adbrite and Adsense Causing IE Crashing

Earlier today I posted about how my blog was crashing when using Internet Explorer. Turns out the culprit was my Adbrite and Adsense code snippets from the respective sites. The comment tags: seem to be very sensitive and when they [...]

Read More

WordPress Playing Tricks with IE

Thanks to DD for pointing out that WordPress was crapping out when Internet Explorer users. I guess there are still some remaining issues when I moved to a new web host. As I pretty much exclusively use Firefox, I did [...]

Read More

google.load("language", "1"); var curstate = 0; var hasloaded = 0; function bnc_show_translated() { if (hasloaded == 0) { bnc_lang_callback(); hasloaded = 1; } for (i = 0; i < 0; i++) { var elem = $("bnc_original_" + i); if (elem) { if (curstate) { elem.show(); } else { elem.hide(); } } } for (i = 0; i < 0; i++) { var elem = $("bnc_trans_" + i); if (elem) { if (curstate) { elem.hide(); } else { elem.show(); } } } if (curstate) { $("bnc_trans_state1").show(); $("bnc_trans_state2").hide(); curstate = 0; } else { $("bnc_trans_state1").hide(); $("bnc_trans_state2").show(); curstate = 1; } } function bnc_detect_div(div_id) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; if (text.length > 0) { google.language.detect(text, function(result) { if (!result.error) { if (result.language != "ru") { if (result.confidence > 0.25) { $("bnc_translating").show(); bnc_xlate_div(result.language, div_id, "en"); } } } } ); } } } function bnc_xlate_div(src_lang,div_id,o_lang) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; google.language.translate(text, src_lang, o_lang, function(result) { var translated = document.getElementById(div_id); if (result.translation) { translated.innerHTML = result.translation; } }); } } function bnc_lang_callback() { } function bnc_startup() { bnc_xlate_div("en", "bnc_translate_info", "ru"); bnc_xlate_div("en", "bnc_translate_info2", "ru"); $("bnc_translating").show(); } google.setOnLoadCallback(bnc_startup);