标签:style sla alt layout google inf lang lan page
1.Google 翻译
<div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: ‘en‘, layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, ‘google_translate_element‘); } </script> <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
实现效果:
标签:style sla alt layout google inf lang lan page
原文地址:https://www.cnblogs.com/Dobin/p/10238176.html