search for: descendantof

Displaying 3 results from an estimated 3 matches for "descendantof".

Did you mean: descendant
2008 Apr 16
3
non-bubbling mouseover/mouseout
...on''t know how to write these in Prototype or even JavaScript. Alternately, I would want MouseOver and MouseOut to not bubble down to their children. Currently, I have the following code: Event.observe(''menuContainer'', ''mouseout'', function(e){ if (!e.descendantOf(''menuContainer'')) { hideSubmenu( activeSubmenu ); activeSubmenu = ''''; } }); You guessed it. It doesn''t work. I don''t even know how to get access to whatever element the mouse is currently over to check if it is a descendent of '&...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...elector.findElement(nextSiblings, expression, index) : - nextSiblings[index || 0]; + return Object.isNumber(expression) ? nextSiblings[expression] : + Selector.findElement(nextSiblings, expression, index); }, select: function() { @@ -1848,23 +1877,16 @@ Element.Methods = { descendantOf: function(element, ancestor) { element = $(element), ancestor = $(ancestor); - var originalAncestor = ancestor; if (element.compareDocumentPosition) return (element.compareDocumentPosition(ancestor) & 8) === 8; - if (element.sourceIndex && !Prototype.Browser.O...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server