Displaying 20 results from an estimated 72 matches for "parentnodes".
Did you mean:
parentnode
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats,
I seem to have ran into a problem in IE trying to use parentNode with
the cleanWhitespace method.
doing something like:
var div = $(''mydiv'');
Element.cleanWhitespace(div);
works really great, but try doing:
var div = $(''mydiv'');
Element.cleanWhitespace(div.parentNode);
or
var div = $(''mydiv'');
div = div.parentNode;
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
2005 Sep 18
3
Attaching effects during onload
I''m trying to attach effects to elements in my onload handler and my
lack of Javascript-fu is showing... I want to call the effect from
the onclick handler of an anchor inside the div I want the effect to
apply to. Here''s what I''m trying to do:
function doOnLoad() {
var filters = document.getElementsByName(''filter'');
for
2006 Feb 22
2
''this.initialize'' is null or not an object
Hi, working on the accordion widget and it''s actually working nice (doesn''t
seem to be jumpy) now but I am receiving a javascript error in IE 6. Does
anybody have any ideas why it is happening? Thanks
<script language="javascript">
sbr_stretch(el) {
thisBodyId = el.parentNode.id + "_body";
thisBody = $(thisBodyId);
if
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
libswfdec/swfdec_html_parser.c | 24 +++++++++++++++++-
libswfdec/swfdec_text_field.c | 2 +
libswfdec/swfdec_text_field_movie.c | 9 ++----
libswfdec/swfdec_text_field_movie_as.c | 3 ++
libswfdec/swfdec_xml.c | 5 +++
test/trace/xml-escape-5.swf |binary
test/trace/xml-escape-6.swf |binary
test/trace/xml-escape-6.swf.trace
2008 Oct 22
5
LDAP Problem
I am trying to configure puppet with LDAP repository . I have set puppet
schema and I have also added node definition at LDAP.
Here is my configuration details .
##############################################################
Puppet.conf
node_terminus = ldap
ldapserver = 10.250.11.127
ldapbase = ou=Hosts,dc=xyz,dc=com
ldapassword = secret
2011 Sep 23
3
ldap ENC extension to use environment parent node
Hi,
We currently use ldap ENC to set server role variables and extlookup
to set domain or environment variables.
I have a suggestion regarding ldap use as an ENC - if a node within
ldap has the environment attribute set then it should inherit/mixin
(if available) from a node named after it''s environment.
It could be populated with only puppetVar type attributes so that any
environment
2007 Apr 04
2
Simple RJS Calls Not Working
I have a simlple view:
<h2>Tags</h2>
<% unless @recipe.tags.empty? %>
<table>
<tbody id="tags">
<%= render :partial=>''tags/tag'', :collection=>@recipe.tags %>
</tbody>
</table>
<% end %>
<% form_remote_tag :url=>tags_path(@recipe) do%>
2009 Jul 07
10
link_to, how do you combine url options and html_options?
I have a link-to that I wish to look somewhat like this:
link_to "link here", new_object_path,
:method => :post, :confirm => ''Press OK'', #url
options
:class => "css_class", :id => "css_id" #html
options
In any case I can either get the url_for options to work or the html
options to work, but
2006 Jun 13
1
Element.remove parent div
Hi all,
Currently I am using Element.remove like so:
<div class="blurb" id="drag_1">
<a onclick="Element.remove(''drag_1'');" class="remove"></a>
</div>
However I would like to just create a function since I''ll be removing
multiple DIVs and updating the sortable order. I just can''t get some version
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi !
I have the following:
<li id="photo_<%= @photo.id %>" class="photo">
<%= link_to(image_tag(url_for_file_column(:photo, :picture)),
{:action => ''photo'', :id => @photo},
{:title => @photo.description}) %>
</li>
<script type="text/javascript" language="JavaScript"><!--
2007 Dec 20
0
13 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c test/trace
libswfdec/swfdec_as_array.c | 88 +-
libswfdec/swfdec_xml.c | 17
libswfdec/swfdec_xml_node.c | 23
test/trace/Makefile.am | 28
test/trace/array-no-object-5.swf |binary
test/trace/array-no-object-5.swf.trace | 14
test/trace/array-no-object-6.swf |binary
test/trace/array-no-object-6.swf.trace | 14
2006 Mar 29
3
droppables
I am not sure how many of you are using draggables/droppables but I
thought I would do some experimentation and try and learn how to use
them on my own.
Well, I have draggables, and I have droppables.
I do have one question for now.
The droppable onDrop event seems to pass in 2 objects, the dropped
object, and the container the object was dropped on. My question is
this, can I figure
2006 Feb 23
25
reloading fragments of pages
Hello,
I have a treeview, that works with scriptaculous in order to load the nodes
dynamically.
I also have in the main part of the page, a table with the list of elements.
The lists of elements can be drag-dropped on the treeview in order to move
them around
(they are also draggable on other parts of the page)
I need though, to refresh the treeview to reflect changes when a folder was
moved
2005 Oct 25
24
InPlaceEditor scrolls to top in Firefox?
When I click an InPlaceEditor field in Firefox 1.0.7, the page scrolls
up to the top. That''s disconcerting, and often ends up with the
editable field out of the viewable pane. I can duplicate this on both
Mac and PC. Is there a way to prevent this? Even the demo at
http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor does
this.
Jay Levitt
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
2006 Dec 13
4
Effect.Opacity on Firefox Mac Dims text
Hey everyone,
I have a series of thumbnails that have a loading overlay placed over
them when they''re clicked on. The overlay is set to an opacity of .7..
.The onclick code looks basically does this:
var loading = document.createElement(''div'');
loading.id = ''loading_image'';
$(loading).addClassName(''thumb_loading'');
2008 Apr 16
3
non-bubbling mouseover/mouseout
First, I have only played with Prototype for about a month, so I don''t
know it well. Second, I am more of a server-side programmer than a
client-side programmer.
In my page, I have a div that appears as a result of a link mouseover
event. This div is nested within another div that houses everything
(id = ''menuContainer''). I want the resulting div (which is a submenu)
2007 Jun 24
0
Browser-level "Loading" Cursors for AJAX
I''ve only tested this in Firefox so far, but it seems handy. One more way to
let people know that stuff is going on behind the scenes.
var SomeAjax = new Ajax.Request("/some/address", {
onCreate: function() { document.body.parentNode.style.cursor =
"progress" },
onComplete: function() { document.body.parentNode.style.cursor =
"default" } })
--
2006 Jun 26
1
Parent/Child Tags
IS there a way to determine that the parent or child tags are for a
given element?
_____________________
Thanks,
Keith Davis - MCSA, A+, N+
P.R.I.D.E. - Director of Computer Services
www.pridedallas.com
Work (214) 351-6600 ext. 119
Mobile (214) 906-5183
_______________________________________________
Rails-spinoffs mailing list