谷歌翻译 - 添加一行代码

时间:2013-07-25 06:20:59

标签: google-translate

任何人都可以指导我添加这行代码:

$('.link-all').trigger('click');

到谷歌翻译:

<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'de,en,fr',  layout: google.translate.TranslateElement.InlineLayout.SIMPLE, multilanguagePage: true}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

0 个答案:

没有答案