callback on doGTranslate function?

Popular automatic website translation tool

callback on doGTranslate function?

Postby winman » Mon Jan 05, 2015 3:25 am

hi,
i use free version and add html code:
<a href="#" onclick="doGTranslate('en|zh-CN'); return false;" ...

the problem is doGTranslate() changes text in my hover menu,
I need to catch when the function doGTranslate finished the job
so i can update menu.

Is there any parameter "callback" to function doGtranslate(...)?

Many thanks.
winman
 
Posts: 1
Joined: Mon Jan 05, 2015 3:19 am

Re: callback on doGTranslate function?

Postby Edvard » Mon Jan 05, 2015 2:00 pm

You may try adding class="notranslate" to your menu instead.

Thanks!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

2GLux
cron