refreshing page when use html code on Chrome
Dec 10, 2011 9:45 am by [email protected]
Dec 10, 2011 9:45 am by [email protected]
hello
im try add this code in header page and he making refresh evry 2 sec i think
thats only on chrome Brosers
see the code
<!-- GTranslate: http://gtranslate.net/ -->
<a href="javascript:doGTranslate('en|af')" title="Afrikaans" class="gflag" style="background-position:-300px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Afrikaans" /></a><a href="javascript:doGTranslate('en|sq')" title="Albanian" class="gflag" style="background-position:-300px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Albanian" /></a><a href="javascript:doGTranslate('en|ar')" title="Arabic" class="gflag" style="background-position:-100px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Arabic" /></a><a href="javascript:doGTranslate('en|az')" title="Azerbaijani" class="gflag" style="background-position:-500px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Azerbaijani" /></a><a href="javascript:doGTranslate('en|eu')" title="Basque" class="gflag" style="background-position:-600px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Basque" /></a><a href="javascript:doGTranslate('en|be')" title="Belarusian" class="gflag" style="background-position:-0px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Belarusian" /></a><a href="javascript:doGTranslate('en|bg')" title="Bulgarian" class="gflag" style="background-position:-200px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Bulgarian" /></a><a href="javascript:doGTranslate('en|ca')" title="Catalan" class="gflag" style="background-position:-0px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Catalan" /></a><a href="javascript:doGTranslate('en|zh-CN')" title="Chinese (Simplified)" class="gflag" style="background-position:-300px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Chinese (Simplified)" /></a><a href="javascript:doGTranslate('en|zh-TW')" title="Chinese (Traditional)" class="gflag" style="background-position:-400px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Chinese (Traditional)" /></a><a href="javascript:doGTranslate('en|hr')" title="Croatian" class="gflag" style="background-position:-500px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Croatian" /></a><a href="javascript:doGTranslate('en|cs')" title="Czech" class="gflag" style="background-position:-600px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Czech" /></a><a href="javascript:doGTranslate('en|da')" title="Danish" class="gflag" style="background-position:-700px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Danish" /></a><a href="javascript:doGTranslate('en|nl')" title="Dutch" class="gflag" style="background-position:-0px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Dutch" /></a><a href="javascript:doGTranslate('en|en')" title="English" class="gflag" style="background-position:-0px -0px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="English" /></a><a href="javascript:doGTranslate('en|et')" title="Estonian" class="gflag" style="background-position:-400px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Estonian" /></a><a href="javascript:doGTranslate('en|tl')" title="Filipino" class="gflag" style="background-position:-100px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Filipino" /></a><a href="javascript:doGTranslate('en|fi')" title="Finnish" class="gflag" style="background-position:-100px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Finnish" /></a><a href="javascript:doGTranslate('en|fr')" title="French" class="gflag" style="background-position:-200px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="French" /></a><a href="javascript:doGTranslate('en|gl')" title="Galician" class="gflag" style="background-position:-500px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Galician" /></a><a href="javascript:doGTranslate('en|ka')" title="Georgian" class="gflag" style="background-position:-700px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Georgian" /></a><a href="javascript:doGTranslate('en|de')" title="German" class="gflag" style="background-position:-300px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="German" /></a><a href="javascript:doGTranslate('en|el')" title="Greek" class="gflag" style="background-position:-400px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Greek" /></a><a href="javascript:doGTranslate('en|ht')" title="Haitian Creole" class="gflag" style="background-position:-0px -700px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Haitian Creole" /></a><a href="javascript:doGTranslate('en|iw')" title="Hebrew" class="gflag" style="background-position:-200px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Hebrew" /></a><a href="javascript:doGTranslate('en|hi')" title="Hindi" class="gflag" style="background-position:-500px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Hindi" /></a><a href="javascript:doGTranslate('en|hu')" title="Hungarian" class="gflag" style="background-position:-600px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Hungarian" /></a><a href="javascript:doGTranslate('en|is')" title="Icelandic" class="gflag" style="background-position:-100px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Icelandic" /></a><a href="javascript:doGTranslate('en|id')" title="Indonesian" class="gflag" style="background-position:-300px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Indonesian" /></a><a href="javascript:doGTranslate('en|ga')" title="Irish" class="gflag" style="background-position:-600px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Irish" /></a><a href="javascript:doGTranslate('en|it')" title="Italian" class="gflag" style="background-position:-600px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Italian" /></a><a href="javascript:doGTranslate('en|ja')" title="Japanese" class="gflag" style="background-position:-700px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Japanese" /></a><a href="javascript:doGTranslate('en|ko')" title="Korean" class="gflag" style="background-position:-0px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Korean" /></a><a href="javascript:doGTranslate('en|lv')" title="Latvian" class="gflag" style="background-position:-400px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Latvian" /></a><a href="javascript:doGTranslate('en|lt')" title="Lithuanian" class="gflag" style="background-position:-500px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Lithuanian" /></a><a href="javascript:doGTranslate('en|mk')" title="Macedonian" class="gflag" style="background-position:-200px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Macedonian" /></a><a href="javascript:doGTranslate('en|ms')" title="Malay" class="gflag" style="background-position:-400px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Malay" /></a><a href="javascript:doGTranslate('en|mt')" title="Maltese" class="gflag" style="background-position:-700px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Maltese" /></a><a href="javascript:doGTranslate('en|no')" title="Norwegian" class="gflag" style="background-position:-100px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Norwegian" /></a><a href="javascript:doGTranslate('en|fa')" title="Persian" class="gflag" style="background-position:-200px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Persian" /></a><a href="javascript:doGTranslate('en|pl')" title="Polish" class="gflag" style="background-position:-200px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Polish" /></a><a href="javascript:doGTranslate('en|pt')" title="Portuguese" class="gflag" style="background-position:-300px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Portuguese" /></a><a href="javascript:doGTranslate('en|ro')" title="Romanian" class="gflag" style="background-position:-400px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Romanian" /></a><a href="javascript:doGTranslate('en|ru')" title="Russian" class="gflag" style="background-position:-500px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Russian" /></a><a href="javascript:doGTranslate('en|sr')" title="Serbian" class="gflag" style="background-position:-600px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Serbian" /></a><a href="javascript:doGTranslate('en|sk')" title="Slovak" class="gflag" style="background-position:-700px -300px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Slovak" /></a><a href="javascript:doGTranslate('en|sl')" title="Slovenian" class="gflag" style="background-position:-0px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Slovenian" /></a><a href="javascript:doGTranslate('en|es')" title="Spanish" class="gflag" style="background-position:-600px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Spanish" /></a><a href="javascript:doGTranslate('en|sw')" title="Swahili" class="gflag" style="background-position:-500px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Swahili" /></a><a href="javascript:doGTranslate('en|sv')" title="Swedish" class="gflag" style="background-position:-700px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Swedish" /></a><a href="javascript:doGTranslate('en|th')" title="Thai" class="gflag" style="background-position:-0px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Thai" /></a><a href="javascript:doGTranslate('en|tr')" title="Turkish" class="gflag" style="background-position:-100px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Turkish" /></a><a href="javascript:doGTranslate('en|uk')" title="Ukrainian" class="gflag" style="background-position:-100px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Ukrainian" /></a><a href="javascript:doGTranslate('en|ur')" title="Urdu" class="gflag" style="background-position:-100px -700px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Urdu" /></a><a href="javascript:doGTranslate('en|vi')" title="Vietnamese" class="gflag" style="background-position:-200px -400px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Vietnamese" /></a><a href="javascript:doGTranslate('en|cy')" title="Welsh" class="gflag" style="background-position:-700px -500px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Welsh" /></a><a href="javascript:doGTranslate('en|yi')" title="Yiddish" class="gflag" style="background-position:-300px -600px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Yiddish" /></a>
<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16.png');}
a.gflag img {border:0;}
a.gflag:hover {background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16a.png');}
-->
</style>
<script type="text/javascript">
/* <![CDATA[ */
if(top.location!=self.location)top.location=self.location;
window['_tipoff']=function(){};window['_tipon']=function(a){};
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;if(location.hostname!='translate.googleusercontent.com' && lang_pair=='en|en')return;var lang=lang_pair.split('|')[1];_gaq.push(['_trackEvent', 'doGTranslate', lang, location.pathname+location.search]);if(location.hostname=='translate.googleusercontent.com' && lang_pair=='en|en')location.href=unescape(gfg('u'));else if(location.hostname!='translate.googleusercontent.com' && lang_pair!='en|en')location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href);else location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+unescape(gfg('u'));}
function gfg(name) {name=name.replace(/[[]/,"\[").replace(/[]]/,"\]");var regexS="[?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(location.href);if(results==null)return "";return results[1];}
/* ]]> */
</script>
<script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>
Re: refreshing page when use html code on Chrome
Dec 12, 2011 9:13 pm by Edvard
Dec 12, 2011 9:13 pm by Edvard
Can you post here your website address with the code installed on it?
SIMILAR TOPICS
GT doesn't work...error 404 page | Jan 28, 2019 5:36 pm | Replies: 1 | Post by: vincenzodinuzzo |
Large numbers of crawl errors with double language code | Jan 24, 2019 1:43 am | Replies: 1 | Post by: natastna2 |
Translate website to any specific language, on page load | Jan 19, 2019 6:49 am | Replies: 1 | Post by: Leaon7756 |
Best way to translate a page in WordPress? | Jan 7, 2019 11:10 am | Replies: 3 | Post by: Tonnystark |
Is it translate web page in any language | Aug 17, 2018 12:23 pm | Replies: 3 | Post by: jaizoojee |