search for: immediatedescend

Displaying 4 results from an estimated 4 matches for "immediatedescend".

2007 Jul 18
3
immediate Descendants not working in IE
Hi, im currently styling a menu using a java script effect which hides the nested submenus on load, and also shows/hides them on mouseover. It is working in firefox, using ... var ul = $("nav").getElementsByTagName("ul")[0]; var lis = ul.immediateDescendants(); I then loop through lis to initially hide all the submenus. This works fine in firefox, but not in IE. The sub menus are still visible when the page loads?! Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google...
2007 Apr 06
5
Getting a dynamically generated elements dimensions
Ive posted this before, but unfortunately I still have yet to resolve it after numerous attempts... Here is the overview: populate a container element with some new html using Element.update and then retrieve the new dimensions of the containig element. Here is a bit of code snippet that I would think should work.. but doesn''t: ==== start snippet ==== <style> .bigBox {
2007 Feb 17
4
childrenWithClassName
Hi, i need some help :) Does anywhere exists a fix for a code (scheme) like this: ---------------- var blas = document.getElementsByClassName( ''foo-class'', ''foo-id'' ); blas.each ( function( bla ) { var subbla = Element.childrenWithClassName( bla, ''subbla-class'', true ); } ); -------------- This scheme worked well till script.aculo
2007 Jun 14
4
How to convert a table to JSON (or to Javascript array)
Is there a way to retrieve an HTML table in javascript and convert it to JSON using prototype? I''m stumped :( phil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To