S
S
Sasha_Fenix2015-10-28 15:10:55
JavaScript
Sasha_Fenix, 2015-10-28 15:10:55

Why doesn't jquery hover work correctly?

There is such a service egosila.ru/servis-khvorob , when you hover over blue blocks, the hover event is triggered, which opens a block with links. If you alternately move the cursor from top to bottom, everything works, if from bottom to top, then the hover event for some reason does not work. Everything works on the local PC. What could be the reason for the breakdown?

jQuery(function ($) {

    $(".myclass").hide();

    function deleteClass() {
      $(".active").removeClass("active");
      $(".activeBigimg").removeClass("activeBigimg");
    }

    $(".c1").hover(function(){
      $(".myclass").hide();
      deleteClass();
      $(".c1").addClass("active");
        $("#1div1").show();
    });
    $(".c2, .c3").hover(function(){
      $(".myclass").hide();
      deleteClass();
      $(".c2, .c3").addClass("activeBigimg");
        $("#2div1").show();
    });
.
.
.
});

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mr Crabbz, 2015-10-28
​​@Sasha_Fenix

Because every first li has a larger size than all the others. It corny overlaps the previous blue block, which is why you cannot hover over it.
And on the local it most likely works only because the cache with the css version, in which this li was of normal size, hung.

P
panda, 2013-05-14
@panda

From my Ukrainian experience of budgeting automation systems, there are not so many. And they are all expensive.
From the main budgeting systems:
1. 1C has a budgeting module. Very clumsy, no one supports it
2. 1C: Consolidation.
3. 1C Intalev is a fairly powerful and cool system.
4. Oracle Hyperion
5. IBM Cognos.
All the basic requirements of all systems (except for the budgeting module in SCP) allow you to do. 1C systems, of course, work in their client. IBM and Orale run in the browser. All of these systems are integrated with AD and can be integrated with 1C (I can tell you more if necessary).
But you must understand that:
1. Buying and implementing a budgeting system costs money. We are talking about amounts (if with the introduction) from 50 to 200 thousand dollars.
2. This is far from a simple and fast process.
3. Excel is still much more flexible.

I
ITguru, 2013-08-05
@ITguru

The Russian UPE system is cheaper than kognos, similar in function. Not sure about AD, the rest is very well implemented. I had a personal experience of use, very satisfied.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question