Using code almost verbatim from the manual
<body onload="hideMenus()">
function hideMenus() {
        array_to_hide = $A($('Links_Sub').previousSiblings());
        array_to_hide.each(Element.Hide);
}

Links_Sub and it's previous siblings are submenus that need to hide
and appear on roll-over of other links.  I'm keeping them shown in the
original CSS style and using hide here.

Testing this in firefox on a vista box, I'm getting: iterator is not a
function.

This is my first time using prototype, so it may be something easy to
fix.

Has anyone experienced this, can anyone provide assistance?


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to