callback on doGTranslate function?
Jan 4, 2015 11:25 pm by winman
Jan 4, 2015 11:25 pm by winman
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.
Re: callback on doGTranslate function?
Jan 5, 2015 10:00 am by Edvard
Jan 5, 2015 10:00 am by Edvard
You may try adding class="notranslate" to your menu instead.
Thanks!
SIMILAR TOPICS
GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not defined | Feb 22, 2019 12:34 pm | Replies: 1 | Post by: oase |
504 timeout calling a custom function | Nov 28, 2018 10:34 am | Replies: 1 | Post by: fabbrichetta |
Custom menu with gtranslate function | Dec 4, 2018 3:14 am | Replies: 1 | Post by: luqman305 |
Drupal site: doGTranslate is not defined | Feb 17, 2017 5:06 pm | Replies: 10 | Post by: logicp |
Search function not working in translated language | Oct 26, 2016 2:06 pm | Replies: 7 | Post by: Elnino |