Close (beta) Popup with ESC Key

Popular automatic website translation tool

Close (beta) Popup with ESC Key

Postby glensidepld » Sat May 05, 2018 8:51 pm

Hello,

I am using GTranslate's (beta) Popup. Is there a script you can provide me to enable closing the popup with the ESC key?

Thanks!
glensidepld
 
Posts: 1
Joined: Sat May 05, 2018 8:48 pm

Re: Close (beta) Popup with ESC Key

Postby Yana » Tue May 08, 2018 8:47 pm

Hi,

I will check with our developer and contact you.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4496
Joined: Thu Jan 12, 2012 6:21 pm

Re: Close (beta) Popup with ESC Key

Postby Yana » Tue May 15, 2018 9:47 am

Hi,

Here is the code:

jQuery(document).on('keyup',function(evt) {
if (evt.keyCode == 27) { // esc key
closeGTPopup();
}
});
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4496
Joined: Thu Jan 12, 2012 6:21 pm

Re: Close (beta) Popup with ESC Key

Postby Cervantes963 » Thu Jul 12, 2018 12:54 pm

I set this property for both the Window widgets. But when I get the first window poped-up and when I press the ESC key, the widow doesn't get closed. After I click on the grid on the first window and get the second window pop-up, when I press the ESC key, the first window get closed, but not the second window.
Cervantes963
 
Posts: 1
Joined: Thu Jul 12, 2018 12:51 pm

Re: Close (beta) Popup with ESC Key

Postby Yana » Fri Jul 20, 2018 7:55 pm

Please contact via chat support and our developer will help you.
Regards,

Yana Ghahramanyan - 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
Yana
 
Posts: 4496
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests

2GLux