Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Detect mouse out of imageflow */
- function onMouseOut(event) {
- e = event.toElement || event.relatedTarget;
- if ((e === null)) {
- thisObject.dragobject = null; thisObject.dragging = false;
- }
- else if ((e.parentNode == this || e == this || e.parentNode.parentNode == this)) {
- return;
- }
- thisObject.dragobject = null; thisObject.dragging = false;
- };
- this.imageflowcustom2_div.addEventListener('mouseout',onMouseOut,true);
- /* END Detect mouse out of imageflow */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement