I found a conflict with Google's website translator in automatic mode
(http://translate.google.com/translate_tools) and body tag. After add
below script to my page, i found a strange vertical scroll in IE and
Chrome.

function googleTranslateElementInit() {
    new google.translate.TranslateElement({
        pageLanguage: 'en',
        gaTrack: true,
        gaId: 'UA-xxxxxx-x'
    });
}

This script add style="position: relative; min-height: 100%; top: 0px;
" to BODY tag and min-height: 100%; make a little problem with other
JavaScript base elements and add an unnecessary vertical scroll to
pages.

BROWSER: IE8/Chrome9.0.597 (with inspect element)
OTHER SCRIPTS:
<script type="text/javascript" src="/code/jquery-1.4.4.min.js"></
script>
<script type="text/javascript" src="http://www.google.com/jsapi";></
script>
<script type="text/javascript" src="http://www.google.com/cse/brand?
form=cse-search-box&lang=en"></script>
<script type="text/javascript" src="//translate.google.com/translate_a/
element.js?cb=googleTranslateElementInit"></script>

-- 
You received this message because you are subscribed to the Google Groups 
"General" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-translate-general?hl=en.

Reply via email to