📜 ⬆️ ⬇️

Just a label on the site

You know, after all, there is such a small thing that you can do only for a short time and simply, but for some reason it hangs unfinished for a long time. And on a certain day you decide, I will do everything today. And doing. And you live calmly on.


So I had a label for the site. A colleague suggested adding a small bright label to the site so that people clicked on it and went to the “Leave a request for technical support” page. Users before could leave a request for technical support through this page. And the phone number is listed. But I wanted to have such a label always on the side. And always at hand.

And a certain day has come. And there was a label. And there were requests for technical support through the page more than 2 times. A fewer calls.

It would be possible to bring all the code of the label here on one page, but the code has already been posted on the github. And it is very simple. And I hope it will be clear to you if you want to somehow remake it for yourself. At the moment, you can customize the location of the label from the right or left edge of the page, as well as specify the indent above or below.
')
» Demo | Sources

But the scheme for embedding something on the site I liked so much that I decided not to stop. Yes, and Pokemon "on hearing". Small changes and now on the page you can embed a pokemon. On one of the pages of the help system of our service, I hid the Pokemon, clicking on which, you go to the useful page.


Pokémon script code is also available on the githab.

» Demo | Sources

You can use it as an example from a githab, or you can clone the repository to yourself and use your version. Its version is safer and more reliable.

I hope someone will come in handy.

Source: https://habr.com/ru/post/310496/


All Articles