any idea ?  :(

On May 22, 6:17 pm, louis w <[EMAIL PROTECTED]> wrote:
> Here is more complete idea of the code:
> As I said, IE7 triggers a 'not implemented' error on the line with
> parent  = $(elem).up('li');
> Also, I am on proto v 1.6.0.2
>
>         <script language="javascript">
>
>                 var TreeNav = {
>
>                         init: function(tree) {
>                                         $(tree).observe('click',
> this.toggleChildren.bindAsEventListener(this));
>                         }
>
>                         , toggleChildren: function(evnt) {
>
>                                         elem = Event.element(evnt);
>
>                                         // Is this a node?
>                                         if (!(elem.hasClassName('node-open') 
> || elem.hasClassName('node-
> closed'))) return;
>
>                                         evnt.stop();
>
>                                         console.log('elem: '+elem);
>                                         console.log('elem tag: 
> '+elem.tagName);
>                                         console.log('elem class: 
> '+elem.className);
>
>                                         parent  = $(elem).up('li');
>
>                                         console.log('parent: '+parent);
>
>                                         return;
>
>                         }
>
>                 };
>
>                 document.observe('dom:loaded', function(event) {
>                         TreeNav.init('treeav');
>                 });
>         </script>
>
> On May 22, 5:41 pm, louis w <[EMAIL PROTECTED]> wrote:
>
> > Let me try to work up an example. The entire script is more then you
> > need to see.
>
> > On May 22, 5:15 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
>
> > > What does your complete code look like?
>
> > > -justin
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
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