search for: previoussibling

Displaying 11 results from an estimated 11 matches for "previoussibling".

2005 Nov 07
2
IE vs. Firefox - little programming help needed
Hello, I was wondering whether somebody can give me a little hand on this: I have the following code: "var img = this.el.previousSibling.getElementsByTagName(''IMG'')[0];" While IE correctly returns the image object, Firefox returns an error. What I discovered so far is that this.el.previousSibling returns the DIV tag an IE which is correct - however, Firefox returns this: #text. I was wondering whether ther...
2007 Oct 13
0
5 commits - libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c test/trace
...+++ b/test/trace/xml-parse-6.swf.trace @@ -167,8 +167,8 @@ childNodes: 0: Loading: xml-parse-2.xml Success: true --- -788 -788 +820 +820 docTypeDecl: <!DOCTYPE foo [ <!ENTITY greeting "hello"> ]> ignoreWhite: true loaded: true @@ -301,7 +301,7 @@ nextSibling: undefined previousSibling: TAG(1): 'empty_element' childNodes: 0: --- -attributes: 1: entities%5Fattribute=%3C%20%3E%20%22%20%27%20%26 +attributes: 1: entities%5Fattribute=%3C%20%3E%20%22%20%27%20%26%20%C2%A0 localName: entities namespaceURI: nodeName: entities @@ -309,18 +309,18 @@ nodeType: 1 nodeValue: nu...
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
.../>,c,<d /> +<a />,<b />,c,<d />,fake +<b />,c,<d /> +<b />,c,<d />,<fake /> +<b />,c,<d />,<e /> +fake,c,<d />,<e /> +<b />,c,<d />,<f />,<e /> +parent +firstchild +lastchild +nextsibling +previoussibling +true +parent +firstchild +lastchild +nextsibling +previoussibling +true +null +null +null +null +null +false +null +null +null +null +null +false + + +<a />,<b />,c,<d /> +<a />,<b />,c,<d /> +a:b +a +b +c:d +c +d +c:d +c +d +c:d +c +d + + + +: + +: +:b + +b +a:...
2005 Nov 10
1
Effect.BlindDown: element.style has no properties
I''m running Typo, and after a comment is successfully posted, Typo runs this snippet of Javascript: new Effect.BlindDown($(''commentList'').lastChild); which throws the following error under Firefox 1.5rc1 (OSX) Error: element.style has no properties Source File: http://laughingmeme.org/javascripts/effects.js Line: 754 The problem being that lastChild() is returning
2006 Feb 07
1
onHover: can u explain me this function ?
In Sortables, we have a function onHover: onHover: function(element, dropon, overlap) { if(overlap>0.5) { Sortable.mark(dropon, ''before''); if(dropon.previousSibling != element) { var oldParentNode = element.parentNode; element.style.visibility = "hidden"; // fix gecko rendering dropon.parentNode.insertBefore(element, dropon); if(dropon.parentNode!=oldParentNode) Sortable.options(oldParentNode).onChange(...
2006 Jul 18
0
act_as_tree with ordered items
...f this kind is that it can lead to inconsistencies in the database so I am reluctant to use such a solution. So my question is this: Is there a way (preferrably implemented similar to acts_as_*) to specify data structure with links within a certain level of the tree, maybe using equivalents of previousSibling and nextSibling as references to other items in the same table, as well as a parent reference? Grateful for help, regards Erik Lindblad -- Posted via http://www.ruby-forum.com/.
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...mber(expression) ? element.descendants()[expression] : + Element.select(element, expression)[index || 0]; }, previous: function(element, expression, index) { element = $(element); if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element)); var previousSiblings = element.previousSiblings(); - return expression ? Selector.findElement(previousSiblings, expression, index) : - previousSiblings[index || 0]; + return Object.isNumber(expression) ? previousSiblings[expression] : + Selector.findElement(previousSiblings, expression, index); },...
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
2008 Jan 11
0
Wine release 0.9.53
...ttribute, CreateComment, setNamedItem. msxml3: nextSibling not supported for Attribute, Document and Document Fragment Nodes. msxml3: lastChild not supported for CDATASection, Comment, PI and Text Nodes. msxml3: createProcessingInstruction: Check arguments are valid. msxml3: previousSibling not supported for Attribute, Document and Document Fragment Nodes. msxml3: get_attributes not supported for Attribute, CData, Comment, Doc, Doc Frag, Entity and Text Nodes. msxml3: Suppress IID_IRunnableObject FIXME since its not supported. mscoree: Add stubs for DllCanUnloadNow a...
2011 Mar 18
0
Wine release 1.3.16
...driver entry point for StretchDIBits. gdi32: Add null driver entry points for StretchBlt and AlphaBlend. gdi32: Remove the function table pointer from the DC structure. Alistair Leslie-Hughes (2): msxml3: Ignore XML property ResolveExternals. mshtml: Implement IHTMLDOMNode previousSibling. Anders Jonsson (1): inetcpl.cpl: Update Swedish translation. Andrew Eikum (9): oleaut32: Store ITypeInfoImpls in an array. oleaut32: Convert TLBFuncDesc to be stored as an array. oleaut32: Convert TLBImplType to be stored as an array. oleaut32: Convert TLBVarDesc to...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...'master' into xml Make XMLNode's nodeValue, nodeName, prefix and localName properties work right Make XMLNode's type property unsigned, add native get function More XML work Add parentNode, previous- and nextSibling properties to XMLNode Fix an error in previousSibling. Add firstChild and lastChild properties. Add asserts to swfdec_as_object_mark and swfdec_as_string_mark Work on XMLNode: marking, getNamespaceForPrefix function, attributes property Merge branch 'master' into xml Fix swfdec_xml_node_new function Add test for A...