Forum Archive - callback on doGTranslate function?

callback on doGTranslate function?
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
You may try adding class="notranslate" to your menu instead. Thanks!

SIMILAR TOPICS

GTranslate 3.7.4, Joomla 3.9.3 - doGTranslate is not definedFeb 22, 2019 12:34 pmReplies: 1Post by: oase
504 timeout calling a custom functionNov 28, 2018 10:34 amReplies: 1Post by: fabbrichetta
Custom menu with gtranslate functionDec 4, 2018 3:14 amReplies: 1Post by: luqman305
Drupal site: doGTranslate is not definedFeb 17, 2017 5:06 pmReplies: 10Post by: logicp
Search function not working in translated languageOct 26, 2016 2:06 pmReplies: 7Post by: Elnino

Try GTranslate with a free 15 day trial