This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Botton to close a widjet
#7
(12.01.2021, 12:45)admin Wrote: Use hide-widget class, add to custom JS:
Code:
$(function() {
  $('.hide-widget').off('vclick').on('vclick', hideWidgets);
});
No need to duplicate this code for multiple widgets, use the same class and it will work correctly.

I have tried this solution. Now the widget close when i push the button but it didn't send any value to the direction group....what i am missing?

Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
Botton to close a widjet - by gdimaria - 12.01.2021, 12:02
RE: Botton to close a widjet - by admin - 12.01.2021, 12:45
RE: Botton to close a widjet - by gdimaria - 12.01.2021, 13:19
RE: Botton to close a widjet - by j.martinez@t-ingeniamos.com - 08.06.2023, 14:53
RE: Botton to close a widjet - by admin - 03.03.2021, 14:02
RE: Botton to close a widjet - by admin - 09.06.2023, 11:53
RE: Botton to close a widjet - by Daniel - 13.06.2023, 13:53
RE: Botton to close a widjet - by Daniel - 13.06.2023, 14:07

Forum Jump: