Jump to content

script


CrashGordon

Recommended Posts

I tried adding Google Translate by adding the following script to footer.tpl.

<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=160&h=60&title=&border=&output=js"></script>

It works except for the complaint that the Google Map key is invalid (since the translated page is displayed on Google's site).  I can live with that, but don't like the idea of its removing the viewer from my site.  I tried to get the translated page to display in a newwindow by using target="_blank", but that doesn't work.

Anyone know of a way I can get the translated page to display in a new window?

Link to comment
Share on other sites

Solved.  While I couldn't get the script to display the resultant page in a new window or browser tab, it did provide a URL for the translations.  I just got rid of the script and created a menu for the languages I wanted to be used.  The only glitch now is that the live map complains it is on the wrong domain. on the translated page.  I can live with that...for now. ;D

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...