D
D
ddaanniirroo2019-08-02 13:29:29
1C-Bitrix
ddaanniirroo, 2019-08-02 13:29:29

I need to make the pop-up window disappear, how to do it?

When adding a product to favorites, a window pops up and does not disappear, you need to make it disappear, as I understand it, you need to use pseudo-classes, but I haven’t figured it out completely, please tell me
5d441df48d216379680859.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Siverius, 2019-08-02
@Siverius

$("bad_bad_window").animate({ opacity: 0 }, 500);
Alternatively, try playing around with this script. bad_bad_window is how you uniquely label your element. But I must warn you, this may be a terrible crutch.

V
Vyacheslav Shevchenko, 2019-08-02
@WebDev2030

Find in JS the place where the window is shown and add through

setTimeout(
   function () {
      //Скрытие окна
     
   },
   3000 //Задержка в миллисекундах, через которое окно будет скрыто
);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question