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
#3
(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.

Great! Thank you so much.

Peppe
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 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: