Is it possible for a hover jQuery event (or a mouse event or a mouse event) to fire on an element that is placed under a fixed or absolutely positioned div that spans the trigger element? Hope this makes sense. thanks in advance
EDIT This is the solution I came across. Are there any more efficient ways to execute this code? http://jsfiddle.net/GQugb/5/ The only problem is that the user goes very quickly over the mailboxes, in the end they will all be stuck in yellow. Any suggestions?
before editing, I would say "try css: .outer {pointer-events: none;}",
after editing, I would suggest a lock variable for each hover function:
var lock = false; function hover(){ if(lock) return; lock=true; //do stuff setTimeout(function(){lock=false;},1000); //1 second delay }
Source: https://habr.com/ru/post/1343267/More articles:How to hide, enable, change WPF GUIs based on different types of users? - c #C ++ template: no suitable function to call - c ++Getting actual widh / height values โโof an element through .getNamedItem attributes - javascriptSubversion> Merging back into the trunk without reintegration? - svnIs there a NO MOTION mouse listener? - javaNon-profit uses for WCF? - c #p: dataList cannot iterate java.util.Set - javaWhat is the correct way to specify type variance for methods in a companion object - typesXcode 4: files get stuck outside the project, cannot be deleted - xcodeRails 3: Why is the whole field not checked for regular expression? - validationAll Articles