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.

Close button widget
#1
Is it possible to create a custom button to close the widget?
Reply
#2
Custom widget has option to 'Show close button' next to widget selection.
------------------------------
Ctrl+F5
Reply
#3
I have a request for the appearance of a close button. It would be easier for me to insert a new button than to reformat the automatically inserted one using CSS.
Reply
#4
Which widget exactly?
------------------------------
Ctrl+F5
Reply
#5
I have my own widget.
I have marked the required close button in red.

Attached Files Thumbnail(s)
   
Reply
#6
This is old visualization which is not updated anymore. In New Visu you have close button for custom widgets as configurable option.
------------------------------
Ctrl+F5
Reply
#7
Place a dummy object on your widget that will act a close button. Set Additional classes to btn-close

Add to Custom JavaScript:
Code:
$(function(){
  $('.btn-close').off('vclick').on('vclick', hideWidgets);
});
Reply


Forum Jump: