Displaying 10 results from an estimated 10 matches for "lastchild".
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 the whitespace between
the final </li> and the closing </ol>
I k...
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
...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: null
prefix:
parentNode: TAG(1): 'null'
-firstChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%0A'
-lastChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%0A'
+firstChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%20%C2%A0%0A'
+lastChild: TEXT(3): '%0A%20%20%3C%20%3E%20%22%20%27%20%26%20%C2%A0%0A'
nextSibling: TAG(1): '??????'
previousSibling: TAG(1): 'normal...
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
...>
+<a />,<b />,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...
2006 Feb 16
0
RJS Question
Hi,
What would my method call in an rjs template to produce something like:
new Effect.BlindDown($(''commentList'').lastChild);
I know if I just wanted to the blind effect I would:
page.visual_effect :blind_down, "row_#{@new_item.id}"
but how would I call it if I want the ".lastChild instead of passing a particular id?
thanks, scott.
--------------------------------------------------------------------...
2006 Apr 04
3
Keeping javascript in the <head>
Given that Rails has built in ways to do almost everything else :) , is
there a way to keep view specific javascripts inside the head tag of a
layout without having to include that javascript on every page?
--
Marlon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060404/65e9bb6d/attachment.html
2006 Jan 23
16
Adding form fields (extending a form) on the fly
Hello,
I just can''t seem to find a way to extend a form dynamically in ROR.
Say I am writing a recipe website. There is one form to enter the
recipe. There is room for N number of ingredients (let''s say a text
field for each ingredient name and selection list for the amount). What
if the user wants to add more than N ingredients as he types them in?
how do I do this without
2010 Sep 18
0
Wine release 1.3.3
...Jason Edmeades (2):
cmd: Make tests supply stderr + more diagnostics.
cmd: echo.word should echo back the word without the .
Jesse Litton (1):
wined3d: Recognize GeForce GTX 465.
Joris Huizer (4):
wined3d: Fix typo in checkGLcall.
msxml3: Fix copy/paste error in get_lastChild functions.
msxml3/tests: Add lastChild tests.
d3dx9_36: D3DXPreprocessShaderFromFileW: remove unneeded code.
Juan Lang (2):
shdocvw: Add Close menu item.
winex11.drv: ImeInquire's second parameter is an output parameter.
J?rg H?hle (2):
winmm: Support MCI_SOUND....
2008 Jan 11
0
Wine release 0.9.53
...values for get_nodeName.
msxml3: Cannot add an attribute with appendChild.
msxml3: Implement get_xml.
msxml3: Tests for get_xml, createAttribute, 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...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...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 ASnative (100, 5), an XML escap...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...ocal.d.childNodes = object
__proto__ (hp) = _global.Array.prototype
constructor (hp) = _global.Array
length (hp) = number : 1
-local.d.firstChild = local.d.childNodes.0
+local.d.firstChild = object
__proto__ (hp) = _global.XMLNode.prototype
constructor (hp) = _global.XMLNode
-local.d.lastChild = local.d.childNodes.0
+local.d.lastChild = object
__proto__ (hp) = _global.XMLNode.prototype
constructor (hp) = _global.XMLNode
local.d.localName = null
@@ -89,7 +89,7 @@ local.d.ignoreWhite = boolean : false
local.d.loaded = undefined
local.d.status = number : 0
local.d.xmlDecl = undefi...