E
E
Eugene2019-04-05 21:43:21
JavaScript
Eugene, 2019-04-05 21:43:21

How to programmatically call a notification window in VK?

Hello.

I am writing an extension for Chrome, which is an add-on for VK. The extension sends AJAX requests to the server, receives a response, and if successful, I want to notify the user about it.

success: function(result) {
   // вот здесь вызвать всплывашку со своим текстом
});

But I don't want to use alert because it will require an action from the user. How to programmatically call a notification like with a new message (lower right corner), but with its own text inside?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2019-04-05
@Sanasol

Use something like https://codeseven.github.io/toastr/demo.html
Or your knee-length version with VK layout.
It is VKshnuyu that you can hardly call from the outside with your violinists.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question