V
V
Vadim Solovyov2017-08-14 18:23:57
JavaScript
Vadim Solovyov, 2017-08-14 18:23:57

Why doesn't Balabolka support Split View in Windows 10 pro?

571454f8ccb54fa29116d040222ffd74.gif
Why doesn't the Balabolka program support Split View in Windows 10 pro , unlike other programs? What could be causing this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pashted, 2019-04-06
@mrzgt

If I understood the idea correctly, then this is how it should work. the code is almost equivalent to yours. the second function is triggered when the cursor leaves the menu

$(document).ready(function () {
    $('#menu .dropdown >.dropdown-menu').on(
        {
            mouseenter: function () {
                $("#menu .dropdown .dropdown-toggle").after('<div id="menu_background"></div>');
            },
            mouseout:   function () {
                $("#menu_background").remove();
            }
        }
    );
});

if this code does not work either, then I see only one explanation: you have several #menu_background elements on the page. and the search by id is carried out in such a way that the first one that comes across is found. id must be unique on the page. alternatively, you can use the class instead of id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question